Click to See Complete Forum and Search --> : XML and CSS (and IE)


amazing_andr3
03-02-2005, 02:22 PM
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:

http://www.siteuri.ro/developer/ghidul-securitatii-php.xml (application/xml) - Firefox and IE display differently

http://www.siteuri.ro/developer (text/html) - Firefox and IE display exactly the same

(both files use the same CSS)

amazing_andr3
03-03-2005, 06:30 AM
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???

Robert Wellock
03-04-2005, 05:36 AM
When you serve XHTML or an Application of XML typically they take account of the root element.