Stievie1010
Stievie1010

Reputation: 9

Positioning of my website in IE is totally wrong

Does anyone know a solution to my problem or where I should look for this to work? I am working on a website ( http://www.awww.nl ) and I got all the positioning of the elements the way I wanted... but when I checked in IE most of the positioning is totally off!

Especially on the post pages (for example: http://awww.nl/superlieve-luiaard/ ) the design is moving all the way to the right in IE (in chrome on my Imac everything is correct) And on the homepage the button to add pictures disapears.

I tried to fix it by using different Doctypes but that didn't work.

Upvotes: 0

Views: 78

Answers (1)

John Smith
John Smith

Reputation: 1780

Your website is rendering in Quirks mode, probably because of a doctype mistake.

I do not recognize your current doctype:

<!DOCTYPE XHTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Can you try changing your doctype to this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

If that doesn't fix it, then add to the <head> tag:

<meta http-equiv="X-UA-Compatible" content="IE=edge" /> 

This should render it in the highest version available. However, I would recommend that you look for the doctype mistake and fix it as it is the root of the cause.

Upvotes: 1

Related Questions