开发者

IE9 - acceptable frameset replacement

开发者 https://www.devze.com 2023-04-07 11:37 出处:网络
I have a site that I\'m working on that has a lot of framesets in it.However, since IE9 (HTML5), frameset开发者_如何学编程s have been deprecated and it throws me into quirks mode which slows down the

I have a site that I'm working on that has a lot of framesets in it. However, since IE9 (HTML5), frameset开发者_如何学编程s have been deprecated and it throws me into quirks mode which slows down the loading of my page. Basically, I'm looking for an acceptable alternative to framesets that is HTML5 compatible. Thanks for any responses.


You can simply replace frameset with iframes. Use CSS and maybe some JavaScript to recreate the same layout.


Were you using frames in order to provide distinction between different sections of your page, i.e. a frame for a left nav column, a frame for a header, and a frame for the content? If so, you can accomplish the same effect by using div elements and css styling.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号