IE 7, Firefox and iframes
Date: 07/05/07
(WebDesign) Keywords: php, browser
OK, I have a site redesign going on at and it works fine in most browsers. The problem I'm having is that IE 7 and Firefox don't seem to accept a percentage in the height variable. It keeps setting the height to some very small size (around 100 pixels, give or take 20) rather than the 65% of the available space like I spec'ed.
Any ideas how to fix this other than what I did (which was to do a PHP if/elseif/else function to call in separate segments for the iframe depending on the browser set)?
Source: http://community.livejournal.com/webdesign/1277636.html