tags:

views:

47

answers:

2

My browser always run in quirks mode - is it a problem?

I can't even validate my css. My page is looking good .. is there any problem?

Thanks a tonne in advance :)

+2  A: 

Standards are meant as a contract between browser vendors and the web designers. You are violating this contract. While this may work now, you are not guaranteed that it will work tomorrow.

dark_charlie
+3  A: 

Make sure you set a valid doctype in your header. ex:

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

if you do not have that you will always be in quirks mode.

Iznogood
it works with this .. but my page moved a bit to left :(
Praneel
Now its time for you to look into reset css files. Thats the secret to control of your layout accross browsers.
Iznogood