XHTML and CSS

admin

Administrator
Staff member
Does anyone know where I can find a complete list of CSS rules that apply only to HTML (but not to XHTML)?I didn't know there were any. Do you have any examples?don't know any such rule, but w3c says they exist
<!-- m --><a class="postlink" href="http://www.w3.org/MarkUp/2004/xhtml-faq#css">http://www.w3.org/MarkUp/2004/xhtml-faq#css</a><!-- m -->

CSS has a lot of special rules that only apply to HTML. Do these also apply to XHTML?

No. CSS rules that apply only to HTML, apply only to documents that are delivered as text/html.Does anyone know where I can find a complete list of CSS rules that apply only to HTML (but not to XHTML)?

I hope you don't confound CSS with XSL....I hope you don't confound CSS with XSL....
I sure don't, there's no XSL for HTML. See that link i gave above.CSS depends on the markup in context and XHTML is case sensitive and styles from the <html> element other than that there is little difference.

Unless you mean how you use XHTML Style Sheet links though that鎶
 
Back
Top