【发布时间】:2014-10-08 20:58:56
【问题描述】:
有点问题。
网页 whose doctype is not declared 包含 div id="abc" 。我需要在这个 doctype is <! DOCTYPE> 的 div 中加载一个网页。他们在quirk mode 中呈现的主要问题,这会导致外观问题。
div "abc" 是一个弹出窗口,具有绝对位置。
Content is loaded on user request , content is dynamic and built using PHP
and can't provide url to achieve this .
有任何方法可以在不更改任何页面的内容类型的情况下获得与 HTML5 相同的外观。
【问题讨论】:
-
试试 因为html文件可以通过Ajax动态加载
-
@TheOneandOnlyChemistryBlob Cotent 是根据用户请求加载的,所以我不能使用
-
好的...您可以使用 Ajax 并根据用户的请求回显正确的内容吗?
-
@TheOneandOnlyChemistryBlob echo 不起作用,因为 doctype 不同。
-
好的...知道了 ---> iframe
标签: javascript jquery css html