IE9 - acceptable frameset replacement
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.
精彩评论