Can an iframe content be rendered in standards mode when the parent is rendered in Quirks mode?

前端 未结 2 2099
你的背包
你的背包 2020-12-21 01:50

I have an html page which renders an html page in an iframe where my page adds a topbar to the whole content. Inorder to render the whole page seemless, I had to rely on qui

2条回答
  •  轮回少年
    2020-12-21 02:29

    According to this article (http://css-tricks.com/ie-iframe-quirksmode/), a page in an iframe who's parent page is in quirks mode will also render in quirks mode.

    According to the author there's nothing you can do except build your page sturdy enough to withstand the brokenness of quirks mode.

提交回复
热议问题