[thelist] Margins or padding around a <.hr>

Timothy J. Luoma luomat at peak.org
Sun Nov 10 08:52:01 CST 2002


On Sun, 10 Nov 2002 19:03:52 +0930, Craig <cd-ml at aardvark.net.au> wrote:

> I've been trying to get rid of any padding or margins above and below the
> <.hr> line. > Tried <.hr style="margin: 0px; padding: 0px;> but there is
> still a small gap
> below the line.

You didn't mention what browser you are using.... interestingly it looks
like Opera gets this right and Moz (Phoenix) and IE do not.

test case
http://tntluoma.com/css/tests/css-and-hr.html

However, trying to fix it in Moz or IE made it break in the others.

Other options depend on what you are trying to accomplish with the HR

TjL

--
http://tntluoma.com





More information about the thelist mailing list