/    Sign up×
Community /Pin to ProfileBookmark

XML and CSS (and IE)

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:

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

[url]http://www.siteuri.ro/developer[/url] (text/html) – Firefox and IE display exactly the same

(both files use the same CSS)

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@amazing_andr3authorMar 03.2005 — 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???
Copy linkTweet thisAlerts:
@Robert_WellockMar 04.2005 — When you serve XHTML or an Application of XML typically they take account of the root element.
×

Success!

Help @amazing_andr3 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...