Previous Message
Next Message

Re: [css-d] Negative Margins and Border Overflow

Sent by Big John on 14 August 2002 04:04


--- "Plagiarist.com" [EMAIL-REMOVED]> wrote:
> Here's the URI:
> 
> http://openpoetry.plagiarist.com
> 
> In NS6, Mozilla, and Opera, the page renders correctly.-snip-
> However, in IE6 there seems to be a bug (or else I'm missing
> something, which is more likely the case) where the border 
> extends OVER top of the floated image.
> If I take away the negative margin on the "open poetry" div 
> (I made the margin negative to let the descenders in the 
> "p"s and the "y" descend over the border-top element of the
> "PROJECT" div) it works just as expected - the border stops 
> at the image, or the image is "floated" above the border - 
> all is well.
> But once I use a negative margin in *any* non-floated 
> element the border appears over the top of the floated image.

Wow, this sounds like what would happen in IE if the non-floated
elements and the float were 'relative'! Jough, you may have 
found a new IE6 bug.
 
> I can't set the z-index of the image because it's a 
> floated,  not a positioned, element. When I set it to 
> "position: relative" and then don't specify a "top" 
> or "left" value, it works just fine in IE but then the 
> image is removed from the page flow in every other browser,
> rendering the text on TOP of the image.

Jeeze, I wish I had IE6 right now. Try this; Make both div.header
and div.logoimage 'relative', (but NOT the non-floated divs) and 
let us know what happens, okay? I found this will behave well
in Moz1 and Op6/win.
Big John



=====
"What the world needs is a good bug ring"--Big John
<http://users.rraz.net/mc_on_the_rocks/testpage/pie.html>

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
Previous Message
Next Message

Message thread: