This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > January 2005 > Media types not working - or are they?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Media types not working - or are they?
Paul

2005-01-28, 7:42 pm

<link href="_cmn/styles-screen.css" rel="stylesheet" type="text/css"
media="screen" />
<link href="_cmn/styles-print.css" rel="stylehseet" type="text/css"
media="print" />

I have the above to lines of code in a very simple newsletter web page.
The styles for the "screen" render flawlessly in the browser however,
when I do a print-preview or even print, the styles for "print" do not
render at all.

I know the styles for both media types work as I have applied them
seperately to the pages.

Am I missing something?


Thanks.

David Dorward

2005-01-28, 7:42 pm

Paul wrote:

> <link href="_cmn/styles-print.css" rel="stylehseet" type="text/css"
> media="print" />
>
> when I do a print-preview or even print, the styles for "print" do not
> render at all.


You misspelt "stylesheet" for the rel attribute.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
David Dorward

2005-01-29, 7:16 am

Paul wrote:

> <link href="_cmn/styles-print.css" rel="stylehseet" type="text/css"
> media="print" />
>
> when I do a print-preview or even print, the styles for "print" do not
> render at all.


You misspelt "stylesheet" for the rel attribute.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews