Doctype声明不写,导致Div的样式在IE6中不居中

一定要加上这句,否则在ie6中不能居中,在ff中式居中的。
Doctype的出现,让ie6明白,那个div也是可以居中的。

Leave a comment

Your comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word