阅读:2211回复:5
求助!高手看下这段代码
去掉了那段意思是不是放弃W3C标准?
页面我在IE下浏览是居中,换了FF却居左对齐了 |
|
|
1楼#
发布于:2005-10-05 22:59
是叫浏览器用 quirk mode 来 render 网页。
|
|
|
2楼#
发布于:2005-10-05 22:59
代码没有贴完整把?
|
|
3楼#
发布于:2005-10-05 22:59
|
|
|
4楼#
发布于:2005-10-05 22:59
你可以搜寻一下 standard/quirk mode 的分别。
|
|
|
5楼#
发布于:2005-10-05 22:59
abc@home:你可以搜寻一下 standard/quirk mode 的分别。回到原帖 The "STD" is a standard mode, when the browser honours techniques and formatting specified by the W3C standards as much as possible. The "p-STD" is a pseudo-standard mode — the standards aren't fully honoured, some algorithms are adopted from older browsers to keep higher compatibility. MSIE doesn't have this mode, but his standard mode rather corresponds to the "p-STD" mode in NN6/Moz. The "Quirk" mode is non-standard, according to techniques used in old browsers (MSIE 6 in quirk mode displays a page mostly as same as MSIE 5, Mozilla in quirk mode uses some formatting of NN4 etc.) 谢谢大哥! |
|
|