Forum Moderators: open
<iframe style="zoom:90%;" marginheight="10px" width="767px" height="525px" align="left" frameborder="0" scrolling="yes" src="http://myiframeurl.com"></iframe> Here is my code that works in IE but I need in Firefox a different set of code since as we all know the zoom style does not work in firefox.
In fire fox I need the width to be set at 680px.
Also can I have just vertical scrolling enabled in IE and both enabled in FF?
Sarah
Make a basic design for browsers which don't support zoom (IE5, Opera, etc.), so with the smaller width or whatever it is, and then make a conditional comment for like IE5.5+ or whatever, for the ones which do support it.
Why do you need to use zoom at all though, can't you make it 680px width on all of them, or what?
Not quite sure why the zoom property needs to be set - doesn't just setting the width and height of the iframe do the trick?