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

Re: <hr> tag

From: Toby A Inkster <tobyink@goddamn.co.uk>
Date: Thu, 22 May 2003 12:57:00 +0100
To: Martijn van der Heijden <martijn@shibby-projects.nl>
Cc: www-html@w3.org
Message-ID: <20030522115700.GA29650@ophelia.goddamn.co.uk>
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;
}

-- 
Toby A Inkster BSc (Hons) ARCS | mailto:tobyink@goddamn.co.uk | pgp:0x6A2A7D39
    aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:tai@jabber.linux.it
            http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
                             playing://(nothing)

Received on Thursday, 22 May 2003 07:57:05 GMT

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