开发者

browser in quirks mode [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 10 years ago.

Improve this question

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 an开发者_StackOverflow中文版y problem?

Thanks a tonne in advance :)


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"> 

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜