Vertical <hr>????

liunx

Guest
Hi,<br />
<br />
is it possible to do an vertical <hr> bar ?<br />
<br />
thx <br />
<br />
asch<!--content-->No. You will have to use an image to do that.<!--content-->yeah thx <br />
<br />
is what i thought...:O)<br />
<br />
enjoy<br />
<br />
asch<br />
<br />
:D<!--content-->Correct, there is no vertical rule, but you can use a div instead of an image:<br />
<br />
<div style="background-color: black; width: 5px; height: 100px"><br />
<br />
You'll probably also need to add CSS positioning to get it to the right place on your page.<br />
<br />
Adam<br />
<br />
P.S. Another way is to use a table with a cell border, but it is not really good practice.<!--content-->A better way of getting a vertical rule is to use "border" property.<br />
For example, if you have a navigation bar in left hand side and want a vertical hr separating it from the main contents, you may use<br />
border-right: 1px solid black<!--content-->hmmm yeah divs is allright but the problem with them is taht when you resize window....it moves place !...<br />
<br />
and table bouhhh --dont want to muk arround ther lol <br />
<br />
think that image is still the besst :O)<br />
<br />
<br />
thx<br />
<br />
asch<br />
:D<!--content-->
 
Back
Top