简体   繁体   中英

iframe resize issue in firefox

i know this is so basic ,its so basic that it hurts me to ask this question but the issue is starting to make my hair too fall out lol.

i'm making a liquid website so everything resizes,so far so good...my page has a couple of iframes ,they will resize just great in ie using % for height and width but when it comes to firefox only the width will resize and not the height ,the frame ends up pushing over my tables and making the whole thing look wrong

does anyone have a fix/solution to this please.

thanks to everyone that tried to help ,it was a bit vauge i managed to solve it in the end simply by

putting the iframe i wanted inside a layer/div set the layer to absolute and size it in % and then add the iframe inside the layer worked a treat for all browsers.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM