[WSG] Re: digest for wsg@webstandardsgroup.org

2006-03-12 Thread sime
I used the following as the foundation of my current approach to style sheets. http://www.w3.org/TR/REC-CSS2/sample.html 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?

[WSG] CAPS in stylesheets (was Re: digest for wsg@webstandardsgroup.org)

2006-03-12 Thread sime
Sorry about my poor subject line. Christian Montoya HTML 4 style CSS is relevant to HTML 4. If you are using XHTML you must write your CSS selectors in lowercase. So that would make HTML4 practically redundant for new web sites? To Lea de Groot: It worked in Strict which is why I've been

Re: [WSG] CAPS in stylesheets

2006-03-12 Thread sime
No, it will not work under XHTML at all. The DOCTYPE is irrelevant, XHTML is case sensitive and uppercase element selectors will not match anything in XHTML. It will only work for text/html. I have never had a problem with the uppercase not working in strict. Maybe I'm not defining strict

Re: [WSG] CAPS in stylesheets

2006-03-12 Thread sime
Christian said: I think you might be alluding to using XHTML 1 served as text/html. It's just as harmful as helpful, IMO, to the future of XML on the web. People see XHTML pages served as text/html with errors and otherwise non-xhtml behavior and think that XHTML is just another tag-soup