View Full Version : How to create a vertical line like HR?


Ready
08-11-2006, 08:23 PM
I have seen this on some pages. I tried hr width=1 and size=50 but I get a big dot and it isn't 1 pixel wide. How is this done? I also tried a table with a 1 pixel wide cell with a bgcolor of black. for some reason it was more like 5 pixels wide (that one baffles me). I thnk I could use a picture that is 1x1 and give it height of X but this doesn't place in a certain area it will move around then.

Here is one that I think is 1 pixel wide diving 2 portions of the page: example (http://www.tourthisplace.com/41007775/stills/index.htm)

Arwen
08-11-2006, 08:31 PM
<hr width="2" size="200">

Ready
08-11-2006, 09:01 PM
As soon as I add color="#000000" it is a big dot.

pb&j
08-19-2006, 05:21 AM
try...

<div style="width:2px; height:50px; background-color:#000000;"></div>