Forum Moderators: open

Message Too Old, No Replies

Firefox/IE fix needed for zoom tool

         

Sarah Atkinson

2:32 pm on Mar 19, 2008 (gmt 0)

10+ Year Member




<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

Xapti

5:45 pm on Mar 19, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You should be able to achieve what you wish with conditional comments.

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?

Sarah Atkinson

8:26 pm on Mar 19, 2008 (gmt 0)

10+ Year Member



unfortunately the width of what I am framing in is a very large set width..It's an inventory module for a car dealership... These things are notorious for me SEO unfriendly, ridged, ugly, non-flexible and over priced. So I'm trying to work around what I got..... I can't decided which is worse to work around, The old IE or this inventory module....

poppyrich

6:45 pm on Mar 23, 2008 (gmt 0)

10+ Year Member



vertical scrolling in IE - yes, vertical and horizontal scrolling are controlled via CSS using IE's overflowY and overflowX properties.
both or either/or can be controlled. Don't know about FF.

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?