...

<Hr> lines question..color

sharpshooter
07-17-2002, 11:28 AM
can you change the color of <hr> lines? if so, can I have the code ,,,thankS!

murphyz
07-17-2002, 11:58 AM
easy - replace the hex code

<HR color="#ff9900">

Mxx

Eternity Angel
07-17-2002, 12:15 PM
You could also change the width, and height of the line, using:

<hr width="50%">

For width, pixels can also be used, instead of percentages, and:

<hr size="20">

For height.

premshree
07-17-2002, 02:09 PM
Some style !


<hr style="color:#FF9900; width:400px; height:2px">


:thumbsup:

gorilla1
07-17-2002, 03:42 PM
On hr I believe style= is the way to go if you want the code to validate, fwiw (what is validation worth, anyway?).

G

mouse
07-17-2002, 04:42 PM
<style type="text/css>
hr{
color:#069
}
</style>



<hr/>

Embrace CSS my friend :eek:;)

redhead
07-17-2002, 08:40 PM
or you could try both to make sure that it will work in most browsers...

<hr color="#ff00000" style="color: #ff0000">

but then again either will work in IE and Netscape doesnt colour their <hr>'s, just does somewhat stupid boxes...

Sk8er9547
07-17-2002, 11:13 PM
I dont normally use <HR> tags. My way of putting a line in is using an extra <TD> cell in between my content. I usually make the background color something different, and the height to about 3. This seems to work best for me, since the 3d look for me just doesnt look all that thrilling.

mouse
07-18-2002, 12:56 AM
Originally posted by Sk8er9547
I dont normally use <HR> tags. My way of putting a line in is using an extra <TD> cell in between my content. I usually make the background color something different, and the height to about 3. This seems to work best for me, since the 3d look for me just doesnt look all that thrilling. <hr height="3px" noshade/> :thumbsup:

I used to use a 1x1 gif, that always gave a nice fine line... now I use an <hr/>.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum