Neil Zanella <nz******@cs.mun.ca> wrote:
I would like to know what the major enhancements of CSS2 over CSS1 are
http://www.w3.org/TR/CSS2/changes.html
In particular, do most browsers fully support CSS1 nowadays?
Define most browsers....
IE5.5 (and IE6 if your doctype puts it into quirks mode) still gets
major parts of CSS1 wrong. And let's not even mention Netscape 4.
What about CSS2?
Ditto. Only more so.
No browser _fully_ supports CSS2 - a browser that fully supported all
the visual styles and all the aural styles would be truly amazing
compared with today's browsers.
I like the idea of CSS, and prefer XHTML syntax to HTML 4.01
because I can use the class attribute to define style, instead
of having a bunch of markup junk everywhere.
Sorry, I don't understand your point.
You can use the class attribute with HTML 4.01. In practical terms
there is nothing that XHTML 1.0 offers that HTML 4.01 does not. It's
quite possible to write HTML 4, or even HTML 3.2 that uses no 'markup
junk' but which uses just CSS.
Indeed, many people see class selectors as hack to deal with browsers
(like IE) that don't support the more powerful contextual selectors.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>