W3C home > Mailing lists > Public > www-validator@w3.org > July 2006

Re: Fw: Error Message Feedback (custom DTD document)

From: Charles Robertson <cdesign@btinternet.com>
Date: Tue, 4 Jul 2006 17:11:22 +0100
Message-ID: <00a301c69f84$7e500270$800101df@DJXPXD1J>
To: <www-validator@w3.org>
Hi David

I am not sure what the media attribute refers to; I never heard of "all" or "screen, projector". Which tag is this in reference to:

>Using an external stylesheet linked with a media attribute that has a value other than "screen"

Could you explain what this means in more detail.

I am indeed using an external stylesheet that is written at runtime by a javascript source file. If you could view the source, it would say:

<link rel="stylesheet" type="text/css" href="http://www.cdesign.me.uk/mendipmedia/css/generic.css">

Thanks

Charlie


----- Original Message ----- 
From: "David Dorward" <david@dorward.me.uk>
To: "Charles Robertson" <cdesign@btinternet.com>
Cc: <www-validator@w3.org>
Sent: Tuesday, July 04, 2006 4:59 PM
Subject: Re: Fw: Error Message Feedback (custom DTD document)


> On Tue, Jul 04, 2006 at 04:56:15PM +0100, Charles Robertson wrote:
>> The problem is that <DIV> tags are not correctly rendered in Netscape 4, so 
>> by wrapping these <DIV> tags in a <LAYER> tag, I can hide this information 
>> from the older browsers, like this:
> 
> The problem looks more like the CSS then the <div>. Using an external
> stylesheet linked with a media attribute that has a value other than
> "screen" (such as "all" or "screen, projector") exploits a bug in NS
> 4.x that hides the stylesheet from it (and allows the unstyled content
> to be accessed).
> 
> -- 
> David Dorward                                      http://dorward.me.uk
>
Received on Tuesday, 4 July 2006 16:11:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:22 GMT