Zoe M. Gillenwater wrote:
> 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.

OK, cool. I was thinking that since they were block elements, they might.

-- 
David
[EMAIL PROTECTED]
authenticity, honesty, community
______________________________________________________________________
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/

Reply via email to