Previous Message
Next Message

Re: [css-d] rendering in IE5.x/win

Sent by Andrew Clover on 28 January 2002 14:02

aardvark [EMAIL-REMOVED]> wrote:

> the images and captions in the article on the black boxen... but in 
> IE/win, that black sits on top of the images...

> bug?


Been seeing this a lot recently. It happens when a floated image is inside
a positioned ancestor (in your case, #Content). IE5.5+ thinks the image is
positioned and has a lower z-index than its containing block. Pretty stupid

Easiest workaround is to give the image 'position: relative' as well as
'float: left', and then add a 'z-index: 2' or some other value, how ever
high it needs to be.

On an unrelated note, avoid line-heights in units other than ratios, ie.
use '1.8' instead of '180%'. This avoids being mangled by Mozilla's stupid
text zoomer. Resizable fonts ('em' etc.) would be nice too!

Andrew Clover
Previous Message
Next Message

Message thread: