Re: CSS and HR

by =?iso-8859-1?Q?St=E9phane?= Bergeron <berlar(at)generation.net>

 Date:  Sat, 07 Nov 1998 14:15:24 -0500
 To:  ches <ches(at)io.com>
 Cc:  hwg-software(at)hwg.org
 References:  co
  todo: View Thread, Original
At 03:41 PM 06/11/98 -0600, you wrote:
>How do I set the color for an HR in CSS?
>
>Ches
>

Insert the following in your document header or use a linked Style Sheet
with only the HR style rule or use an in line style like this <.HR
STYLE=3D"color: #008080; width: 50%; height: 5px;">

<.STYLE TYPE=3D"text/css">
=09
	HR {
	color: #008080;
	width: 50%;
	height: 5px;}
=09
</STYLE>

Note that only IE 4 will display all 3 style rules properly.  Netscape and
Opera both ignore the color and height properties but Netscape displays the
right width.

HTH!

St=E9phane Bergeron

HWG: hwg-software mailing list archives, maintained by Webmasters @ IWA