View Single Post
  #1 (permalink)  
Old 03-18-2002, 04:38 AM
johnl johnl is offline
Registered User
 
Join Date: Mar 2002
Location: Sweden
Posts: 4
Question Using ZOOM from a CSS

Hi!

I´m new to the forum, and I hope I´m in the right place...

I´m trying to implement a CSS class that will let me resize images on my site (in this case an HTML Help file) easily, without having to use drawing software like PaintShop. I discovered the ZOOM
property/attribute.

I have tried writing something like this:

<SPAN Style="Zoom:0.8"><IMG... etc

This works very nicely. Now, I would like to use this:

<SPAN Class="small"><IMG... etc

with a separate CSS file that includes the definition:

.small {zoom:0.8;}

This time, the image is resized too, only in a much uglier way. Does ZOOM from a CSS use a different resizing algorithm than when using ZOOM in an inline style? Or is this a bug in IE5.5 (which is what I am using)?

Thanks,

John Liungman
Technical Writer, Sweden
Reply With Quote