david wrote:
> Barney Carroll wrote:
>
>> When I've been required to create horizontal rules I usually just create
>> a div.horizontalRule. However if you still want to keep the HR for the
>> sake of non-CSS agents, you could wrap your HR inside a classed DIV, and
>> have
>>
>> .horizontalRule
>> {clear:both;height:2px;width:100%;background-color:orange;}
>>
>> .horizontalRule HR
>> {display:none;}
>>
>
> Question: With CSS off, would that leave extra space above and below the HR?
>
It shouldn't. Divs don't have default margins in any browsers that I
know of. The div should only be as high as its horizontal rule when CSS
is off.
Zoe
--
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/