galengodis
galengodis

Reputation: 933

Something breaking my site in IE

I been scratching my head for a long time now :/

My site is breaking in Internet Explorer: http://www.tolux.se/

It's built on boilerplate and wordpress.

Been trying to figure out whats breaking the site in IE... When I do all the css and html everything is fine. Then I make it to a wordpress theme. Everything is still fine in IE. I activate three plugins: formidable, custom post type ui and simple fields. Everything seems fine, then i start working with some content etc, thinking everything is ok now, but no. I been doing this over and over, removing code, plugins everything back and forth but cant figure out what breaks the site :(

Maby something with the modernizr?

I really need some help here. Been trying for hours and hours now. Think i built the site from scratch four times. lol...

Upvotes: 1

Views: 180

Answers (2)

markratledge
markratledge

Reputation: 17561

You have a doctype, but there is white space above it with invisible characters that are throwing off IE. And, your text files need to be Unicode No BOM. (Byte Order Mark)

See [Invalid] Markup Validation of tolux.se - W3C Markup Validator. Scroll down in the validation report to see line numbers and source code.

Upvotes: 2

Piers Mana
Piers Mana

Reputation: 382

You need to specify a valid DOCTYPE, or IE defaults to quirks mode and won't render many things correctly.

<!DOCTYPE html> works if you're using HTLML5 standards.

Upvotes: 2

Related Questions