W3C home > Mailing lists > Public > www-html@w3.org > May 2003

Re: <hr> tag

From: Marek Soldát <k-marek@soldat.cz>
Date: Thu, 22 May 2003 17:05:12 +0200
Message-ID: <3ECCE728.4080002@soldat.cz>
To: www-html@w3.org

I use this:

<div class="divider">&nbsp;</div>

div.divider {
    height: n px;
    font-size: n px;
}

>On Thu, May 22, 2003 at 12:25:05AM +0200, Martijn van der Heijden wrote:
>| When I use the <div> tag and define it in the style sheet it wil get no
>| smaller than 2 pixels in height. When I use the <hr> tag I get it to 1
>| pixel (defined in the style sheet) but the space between the line and
>| the remainder of the content i can't contol. Any suggestions????
>
>This isn't really on topic here. I suggest you try some of the alt.html 
>newsgroups. However:
>
><div class="divider">---</div>
>
>div.divider {
>	content: '';
>	border-top: 1px solid black;
>	padding: 0;
>	margin: 0;
>}
>
>  
>
Received on Saturday, 24 May 2003 04:55:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:55 GMT