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

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 UTC