W3C home > Mailing lists > Public > www-style@w3.org > June 1997

CSS and presentational markup

From: Todd Fahrner <fahrner@pobox.com>
Date: Thu, 5 Jun 1997 18:50:46 -0700
Message-Id: <v03102805afbd13072ec8@[206.245.203.103]>
To: www-style@w3.org
In documents with both CSS and presentational markup (e.g., <font>
and <center> "elements", <B>, <I>, and align and color attributes ) I
have noticed that sometimes CSS can override the usual rendering of
the markup, and other times it can't.

More troubling, IE4b1 and NS4b5 each have unique sets of
presentational elements/attributes that CSS can override. NS4, for
example, will ignore <font size=+1> on an element if CSS specifies a
fixed size, while IE4 will honor the markup. There's no apparent
rhyme or reason. I haven't done an exhaustive survey, but it appears
that NS4b5 will override presentational markup more often than IE4b1
will.

I think CSS should always be able to override all presentational
markup and attributes, including positioning achieved by means of
tables. This will encourage designers to style with CSS "top down",
then consider whether or not to prettify documents for non-CSS
browsers. If CSS cannot override presentational markup, designers
will begin with markup, and turn to CSS only for "extra" effects.
This will retard adoption of CSS by minimizing reliance on it.

I note with a little alarm that Netscape's set to be released next
Wednesday. <opinion>Either they're coding with superhuman speed,
cleverness, and judgment, or the CSS implementation won't really be
ready.</opinion> Anyway, my fingers are crossed. And do you think
they'll have a personal style sheet UI?

________________________________________
Todd Fahrner
mailto:fahrner@pobox.com
http://www.verso.com/

The printed page transcends space and time. The printed page, the
infinitude of books, must be transcended. THE ELECTRO-LIBRARY.

--El Lissitzky, 1923
Received on Thursday, 5 June 1997 21:40:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:50 GMT