Curtis Clauson wrote:
> 
> If you remove any margins and padding from above and below an <HR> element (and any 
>from the
> surrounding elements), you are still left with a considerable amount of whitespace. 
>It does
> state in the HTML specification that:
> 
>     "The amount of vertical space inserted between a rule and the content that 
>surrounds
>      it depends on the user agent."
> 
> However, the existance of any whitespace beyond that added by margins or padding is 
>a nasty
> layout problem to a page developer. Is there any actual reason that Mozilla is 
>rendering the
> <HR> element with this extra whitespace (MSIE does it too, but that's certainly no 
>excuse)?
> 
> An example page which shows an <H1>, some <DIV>s, and some <HR>s without margins or 
>paddings can
> be seen at:
>     http://www.thesnakepitdev.com/mozilla/hr.html


I've repeatelt heard CSS experts comment that CSS can't handle HR
properly, but I have no more information than that comment to offer you.
Perhaps CSS3 will address this.

AndyT

Reply via email to