RE: block level formatting

I assume you're talking about this example:

http://www.w3.org/TR/REC-CSS2/visuren.html#display-prop


The CSS2 examples you've mentioned are distilled from the W3C's sample HTML4/CSS2 stylesheet:

http://www.w3.org/TR/REC-CSS2/sample.html


This is roughly the default stylesheet applied by most browsers. It is vaguely mentioned that browsers use a default stylesheet (and the above CSS is linked with the example), but a user would have to click the link to realize the CSS examples given aren't useful for defining a page in HTML or XHTML.

To further confuse the issue the final example, IMG { display: none; } is not redundant. The first 3 examples should probably be swapped for effectual examples, or the IMG example removed and an explicit statement added that all of the examples come from the default stylesheet.

-Chris "SoopahMan" Moschini


-----Original Message-----
From: Brian V Bonini [mailto:b-bonini@cox.net]
Subject: RE: block level formatting

That being the case why does the CSS 2 recommendation cite examples of
the display property such as p {display: block}, is this not as
redundant as div {display: block} and at the very least confusing?
-------------------------------------------------------------------------------------

The information contained in this message is proprietary of Amdocs,

protected from disclosure, and may be privileged.

The information is intended to be conveyed only to the designated recipient(s)

of the message. If the reader of this message is not the intended recipient,

you are hereby notified that any dissemination, use, distribution or copying of 

this communication is strictly prohibited and may be unlawful. 

If you have received this communication in error, please notify us immediately

by replying to the message and deleting it from your computer.

Thank you.

-------------------------------------------------------------------------------------

Received on Thursday, 26 June 2003 14:39:53 UTC