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 the text. This works nicely in FF, and in IE the hr stretches 100% 
of the available space but doesn't "break" out of the padding. Is there 
anyway to acheive what I'm trying to do? If there's a better approach 
than I've taken please let me know. Thanks.

Psuedocode:

<div style="padding: 10px">
    <p>
       Sample text
    </p>
    <hr style="margin: 0 -10px 0 -10px" />
    <p>
       Sample text
    </p>
</div>

-----
Jonathan Carter
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to