开发者

iframe resize issue in firefox

开发者 https://www.devze.com 2023-04-10 08:05 出处:网络
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 开发者_Go百科fall out lol.

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 开发者_Go百科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 i.e 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.

0

精彩评论

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

关注公众号