Re: [css-d] Negative margins in IE

2005-12-22 Thread Rowan @ Jetboy
On the containing div, try either: position: relative; and/or: height: 0; The latter to give the layout (as in hasLayout). I had to use both to drag s out of s with negative margins, but it may be different in your circumstances. I'd strongly suggest you put at least the height declaration in

[css-d] Negative margins in IE

2005-12-22 Thread Jonathan Carter
I've got a container div with a 10px padding set on it, and inside of the container I have hr's whose margin-left and margin-right I've set to -10px so that they would "break" out of the padding and give the feeling of seperating the content within the container while keeping the padding for th