[thelist] JS: Resizing an image?
Frank
lists at frankmarion.com
Thu Aug 25 13:14:47 CDT 2005
At 12:55 PM 2005-08-25, you wrote:
>If on your page, your container is stretching to be as big as your image,
>then wont {container.offsetHeight} always be equal to {image.height} (less
>any padding)?
No, because the image is floated right. The behaviour of float usually
seems to make it so that float acts as if it's not part of the div. I've
never really "gotten" it, but that's how it seems to be.
Frank Marion lists at frankmarion.com Keep the signal high.
More information about the thelist
mailing list