sime wrote:
I used the following as the foundation of my current approach to style
sheets.
http://www.w3.org/TR/REC-CSS2/sample.html
If I am understanding it correctly, thats not meant for page
developers/designers to base from, its meant for browser developers to
start from.
You can expect that the default styles supplied by each browser will be
something like these.
For a web developer to start with something like this would put an
un-necessary large download on each page. (Yes, yes, I know - caching -
but its still redundant)
However, I'm told that my code is therefore not XHTML compliant because
of my use of uppercase. So who then is HTML4 relevant to?
I don't really understand the question.
As written, the css shown will work under HTML dtds (and XHTML
transitional? I'm not sure as I never use it) but not XHTML strict DTDs.
To make it work correctly for XHTML strict, you should change each tag
name to lowercase.
Its a trivial change.
HIH!
Lea
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************