Friday, November 20, 2009

Why would an iframe display in IE 6.0, but display correctly in Firefox?

Other than the fact that Firefox is better.



The frame sizes up properly in Firefox, but in IE 6 the frame ends but adds a white box about 200 pixels beneath it, making it appear that the iframe is huge.



Why would an iframe display in IE 6.0, but display correctly in Firefox?





Add this to your CSS declarations to get rid of the extra space around it.



iframe {



padding: 0px;



margin: 0px;



}



Why would an iframe display in IE 6.0, but display correctly in Firefox?uninstall internet explorer internet explorer



There could be lots of reasons, do you have a code sample?



Just a hunch, but are you closing the tag with %26lt;/iframe%26gt; or just using the XML style %26lt;iframe /%26gt;, because iframes are one of those tags that are supposed to be explicitly closed for compliance with browsers which aren't up to standards on all the XHMTL stuff (such as IE).
symtax:



%26lt;iframe width=X hight=Y%26gt;content%26lt;/iframe%26gt;



check your html code.

No comments:

Post a Comment

 
loan