W3C home > Mailing lists > Public > www-html@w3.org > December 2000

Re: The <HR> tag

From: Eric <e.richards@clear.net.nz>
Date: Wed, 27 Dec 2000 09:52:39 +1300
Message-ID: <002b01c06f7e$0420e140$1300a8c0@richards.clear.net.nz>
To: <www-html@w3.org>
A way to get over this problem, and replace <hr>
you could if you like have a 1 * 1 pixel color and spread it out to make a horizontal line or vertical for
that matter.

However I found with both Opera 5 & 5.01 that a 1 * 1 pixel red or blue in JPEG will change to the other
color, 2 * 2 pixel's will give the correct colors. green stays correct color.

Another method is to use tables to replace the <hr> if you like it that way.
You can even put a color band around the line, if that's what turns you on.

From Eric


----- Original Message -----
From: <pdf@bizfon.com>
To: <www-html@w3.org>
Sent: Wednesday, December 27, 2000 5:10 AM
Subject: The <HR> tag


:
:
: In HTML4, the HR tag does not contain any attributes that let you specify the
: color.  However, IE seems to allow you to set a color attribute (IE also lets
: you control the color with style sheets).  Changing the color of an HR seems
: like it would be a very common thing.  I'm just wondering why this hasn't been
: added to the HTML specs?  Is there some better way to create a colored
: horizontal rule that I don't know about?
:
: More info on the HR tag available here:
: http://www.w3.org/TR/html4/present/graphics.html#h-15.3
:
: Thanks,
: Peter
:
:
:


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.219 / Virus Database: 103 - Release Date: 5-12-00
Received on Tuesday, 26 December 2000 15:54:58 GMT

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