Page is a not externally linkable
- Browsers
-- Firefox Browser Usage and Support
---- Fluid width iframes in Firefox and IE


katana_one - 8:53 pm on May 3, 2005 (gmt 0)


It seems I am having trouble with an iframe's width displaying differently in IE and Firefox.
Currently, it is set to width="100%" which works fine in IE, which most of our visitors use. But Firefox does not seem to like the 100% value, and only renders an iframe about 200-300 px wide instead of using the container DIV's width.

If I change the iframe width to "auto" then it displays correctly in Firefox, and in IE it fails to use the parent DIV's width.

How do I get it to display at 100% of the parent DIV's width in both browsers?


Thread source:: http://www.webmasterworld.com/firefox_browser/192.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com