W3C home > Mailing lists > Public > www-html@w3.org > June 2003

RE: block level formatting

From: Chris Moschini <Chris.Moschini@amdocs.com>
Date: Thu, 26 Jun 2003 13:36:00 -0500
Message-ID: <3DB269E1BEC8134084EAA64AD4A1E0CF0F0CEF@stlmail1.corp.amdocs.com>
To: "'Brian V Bonini'" <b-bonini@cox.net>, www-html@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:55 GMT