[EMAIL PROTECTED] wrote: > Okay. I got what I wanted. Another user suggested adding > "position:absolute" to the hr and it worked as shown here ... > > <body> > Hello > <div style="border: 1px solid red; margin: 0; padding: 0;"> > <hr style="position: absolute; margin: 0; padding: 0; border: 0; > color: #999999; background-color: #999999; height: 1px;" height="1"/> > </div> > Bye > </body>
May I ask why you need the HR in there? AFAIK, the markup below would render exactly the same: <body> Hello <div style="border-top: 1px solid red;border-bottom: 1px solid #999;"></div> Bye </body> Thierry | www.TJKDesign.com ______________________________________________________________________ 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/