View Full Version : How to make a thin horizontal (hair)line?
kippie
02-22-2003, 09:39 PM
The command <hr> makes a horizontal line. Is there a command to make this line thinner? Or should I do it in another way>
Kippie
redhead
02-22-2003, 09:55 PM
style="height: 1px;" should work... any problems? :thumbsup:
Be sure to remove the border:
<hr style="border: none; height: 1px; color: blue; background: blue;"/>
kippie
02-22-2003, 10:44 PM
Thanks a lot!!
Kippie
Quiet Storm
02-23-2003, 12:39 AM
What happened to <HR NOSHADE>?
Deprecated:
http://www.w3.org/TR/html4/present/graphics.html#edef-HR
pardicity3
02-23-2003, 02:32 AM
While we are on the topic...
Is there anywhere on w3's site that lists all the attributes that can be modified for and <hr>? I looked once and couldn't find one.
cg9com
02-23-2003, 05:57 AM
Originally posted by jkd
Be sure to remove the border:
<hr style="border: none; ....
:confused:
Spookster
02-23-2003, 11:22 PM
Originally posted by kippie
The command <hr> makes a horizontal line. Is there a command to make this line thinner? Or should I do it in another way>
Kippie
or you could create a 1 pixel x 1 pixel colored image and then just use the image tag to stretch it to the length and width that you want.
Originally posted by pardicity3
While we are on the topic...
Is there anywhere on w3's site that lists all the attributes that can be modified for and <hr>? I looked once and couldn't find one.
There isn't many and they are all deprecated.
http://www.w3.org/TR/html401/present/graphics.html#edef-HR
If you mean CSS properties, just try anything that goes with block elements. If it works, it works. :D
http://www.w3.org/TR/REC-CSS2/propidx.html
pardicity3
02-24-2003, 03:22 AM
Originally posted by meow
If it works, it works. :D
Very well said. And thanks for the link!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.