Pet*_*gad 5 html javascript doctype internet-explorer quirks-mode
我在一个无法访问的开发人员的参数范围内工作,他们为我们的产品创建了一个html生成系统.每当生成新页面时,他放置:
<!-- updated page at 05/MAY/2010 02:58.58 -->
<!-- You must use the template manager to modify the formatting of this page. -->
Run Code Online (Sandbox Code Playgroud)
导致我的代码看起来像:
<!-- updated page at 05/MAY/2010 02:55.30 -->
<!-- You must use the template manager to modify the formatting of this page. -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
Run Code Online (Sandbox Code Playgroud)
我根本不相信IE读取这个doctype,因为在查看开发人员屏幕时,它以Quirks模式呈现......有没有其他方法可以迫使IE退出这个可怕的Quirks模式?我一直试图联系开发者,但他一直不太可用..
提前感谢您提供的任何帮助.
//编辑:
这可以通过javascript来执行,使用on load命令命中父页面吗?
归档时间: |
|
查看次数: |
4825 次 |
最近记录: |