XML and CSS (and IE)

liunx

Guest
This is a very strange behaviour I noticed.

It looks like IE 6 handles the CSS differently, depending on the MIME type. I used application/XML first time and text/html the other time.

Has anyone noticed this?

Try:

<!-- m --><a class="postlink" href="http://www.siteuri.ro/developer/ghidul-securitatii-php.xml">http://www.siteuri.ro/developer/ghidul- ... ii-php.xml</a><!-- m --> (application/xml) - Firefox and IE display differently

<!-- m --><a class="postlink" href="http://www.siteuri.ro/developer">http://www.siteuri.ro/developer</a><!-- m --> (text/html) - Firefox and IE display exactly the same

(both files use the same CSS)OK I've figured out what's the problem.

It's not a CSS question at all.

IE runs in quirks mode for XML.

Oh almighty Robot why have you cursed us with Bill Gates and his evil monsters???When you serve XHTML or an Application of XML typically they take account of the root element.
 
Back
Top