Pritesh Mahajan
Pritesh Mahajan

Reputation: 5174

Why site open in Quirks mode in IE all version ?

When i open my site in IE (all Version 7,8,9) its open in Quirks mode and i didn't find any solution to resolve this .

So please help me

Upvotes: 0

Views: 1282

Answers (2)

steenhulthin
steenhulthin

Reputation: 4783

Make sure that your site does not start with an blank line before the doctype declaration. But it could be a number of other things as well.

Maybe wikipedia can also help you (there is a list of doctype errors which can trigger quirks mode).

edit

In your specific case: the doctype should be the first line. Not <body onLoad="blinkFont()">.

You may benefit from validating your site here: http://validator.w3.org/check?uri=http%3A%2F%2Fgsateams.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

Upvotes: 0

prodigitalson
prodigitalson

Reputation: 60403

<body onLoad="blinkFont()">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb">
<head>

My money is on that beauty... Followed by the script tag outside of the closing html and body tags.

Upvotes: 2

Related Questions