How to define the media="print" for an imported CSS file?
Hi
I am working on builidng a printer-friendly page (and appreciate all the good advise on this forum on that!). So I included DIV sections on all the layout elements that I would like to manage.
However I still have one problem: How and where can I define the media="print" in the LINK element for my imported print stylesheet, i.e.
<link rel="stylesheet" type="text/css" href="print.css" media="print">
When I preview or publish the pages the LINK element will be generated by NOF. If there is no way of including the media="print" part somewhere in the style sections, I would have to add this in each generated html file manually. Which would be a pain...
Can somebody help? Thank you.
KR, Richard
Re: How to define the media="print" for an imported CSS file?
Richard - would love to know the details of how you are accomplishing this.
I had been using a php script that was working beautifully up until the last
time my host upgraded PHP on my server. The script died and I haven't been
able to get it to work since.
Thanks,
Janice
"rifa" <rifa.501nzv@no-mx.forums.netobjects.com> wrote in message
news:rifa.501nzv@no-mx.forums.netobjects.com...
>
> Hi
>
> I am working on builidng a printer-friendly page (and appreciate all
> the good advise on this forum on that!). So I included DIV sections on
> all the layout elements that I would like to manage.
>
> However I still have one problem: How and where can I define the
> media="print" in the LINK element for my imported print stylesheet,
> i.e.
>
> <link rel="stylesheet" type="text/css" href="print.css"
> *media="print"*>
>
> When I preview or publish the pages the LINK element will be generated
> by NOF. If there is no way of including the media="print" part somewhere
> in the style sections, I would have to add this in each generated html
> file manually. Which would be a pain...
>
> Can somebody help? Thank you.
>
> KR, Richard
>
>