RE: Rendering question

From the CSS2 Specification:

"if an element in the document tree has a value of 'none' for the 'display'
property, that element will generate nothing in the formatting structure"

Isn't it correct that the User Agent generates the document tree BEFORE
rendering the page on the screen?

-----Original Message-----
From: Rowland Shaw [mailto:Rowland.Shaw@crystaldecisions.com]
Sent: Tuesday, January 08, 2002 8:08 AM
To: 'RUST Randal'
Subject: RE: Rendering question


I believe the browser should skip the entire <dvi> and all it contains. It
may have been a different case had it been visibility: hidden

-----Original Message-----
From: RUST Randal [mailto:RRust@COVANSYS.com]
Sent: 08 January 2002 13:04
To: RUST Randal; Css (E-mail)
Subject: RE: Rendering question


Sorry, what I meant to say was if I had an IMAGE inside of a DIV, with the
display property of the DIV set to NONE, does the UA render the image.

-----Original Message-----
From: RUST Randal [mailto:RRust@COVANSYS.com]
Sent: Tuesday, January 08, 2002 7:58 AM
To: Css (E-mail)
Subject: Rendering question


If i set the "display" property of a <div> to "none," does the User Agent
STILL render the image?  Or does it just skip over it?

The reason for the question is that a client has requested a "text only"
version of the site, which is fine, but if I can use one page for both
versions, rather than constructing two separate sites, by simply using
Javascript to show/hide images, then that would be great.

Thanks.

Randal

Received on Tuesday, 8 January 2002 08:25:43 UTC