Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: not2easy
on the img selector sorts this out, but how? is it just an unexplainable quirk?
You also need to put in
on the img selector which I also donít understand.
had to re-write the whole code...
if this is the only element in the flow you can also use the position: relative and give it negative offsets instead of negative margins.
about the display: block for the image tag - it comes in handy when you understand that IE render images as text, and leaves some space at the bottom for the "big" letters (q, g etc'). when giving the element the display: block; property you turn the image tag into a block type element, thus aborting IE's abuse of the image tag.
i hope this helps,