...

View Full Version : a vertical <hr> tag



velious
03-07-2004, 10:40 AM
How can I make a vertical <hr> tag?

Mr J
03-07-2004, 12:03 PM
Use a div similar to this

<div style="width:6px;height:100px;border-right:6px inset blue"></div>

me'
03-07-2004, 12:49 PM
But instead of width: 6px; it should be width: 0px; as the pixels of width will be extra to the width of the border. Remember the box model:)

And remember you have to use the boxmodel hack for IE5:
.hr {
height: 100px;
border-right: 6px solid blue;
width: 6px;
voice-family: "\"}/*\"";
width: 0px;}
/* */

<div class="hr"></div>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum