View Full Version : Vertical Rules
02-13-2004, 06:22 PM
Is there any way to use <hr> vertically other than:
<td width="1" bgcolor="#000000"> ?
02-13-2004, 06:53 PM
no not hr... it stands for horizontal rule. the table method you showed is on option or a left/right border on a box element such as a div works, or a 1 pixel high bg image thats tiled veritcaly works too.
02-13-2004, 07:12 PM
Do a search on hr here. Someone figured a way to do it without images I think.
02-13-2004, 07:24 PM
<div style="border-right: 2px solid blue; height: 300px; width: 300px;"></div>
02-13-2004, 07:43 PM
I never associated my tables with <div before.
Can you simply show me how you do it to have a black right border for a cell?
Do you just:
<div style="border-right: 1px #000000">
02-13-2004, 07:53 PM
<td style="border-right: 3px solid #000000">x</td>
02-13-2004, 08:12 PM
<hr style="width: 2px; height: 400px;" /> -- Try it
02-13-2004, 08:30 PM
that worked great for me.
I also want to ask you:
if you want to border a table, but only the circumference of it - not all the cells - is there a specific script for this?
02-13-2004, 08:31 PM
I just figured it out. its just "border"
I couldnt do it without your previous post!
Originally posted by Roy Sinclair
<hr style="width: 2px; height: 400px;" /> -- Try it Questionable semantics.
02-13-2004, 09:09 PM
Originally posted by me'
No doubt but nobody added a <vr /> tag during all the other odd changes that went on during the browser wars. Of course since this was in regards to a table anyway zoobies probably got a better answer. If that rule needs to span all the rows then a colgroup tag for that rule may be in order.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.