...

View Full Version : Vertical Rules



ssskaya
02-13-2004, 05:22 PM
Is there any way to use <hr> vertically other than:

<td width="1" bgcolor="#000000"> ?

Thanks!

ez4me2c3d
02-13-2004, 05: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.

zoobie
02-13-2004, 06:12 PM
Do a search on hr here. Someone figured a way to do it without images I think.

zoobie
02-13-2004, 06:24 PM
<div style="border-right: 2px solid blue; height: 300px; width: 300px;"></div>

ssskaya
02-13-2004, 06: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">
<td>whatever</td>
</div>

zoobie
02-13-2004, 06:53 PM
<td style="border-right: 3px solid #000000">x</td>

Roy Sinclair
02-13-2004, 07:12 PM
<hr style="width: 2px; height: 400px;" /> -- Try it

ssskaya
02-13-2004, 07:30 PM
zoobie:

that worked great for me.

thanks.

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?

thanks.

ssskaya
02-13-2004, 07:31 PM
I just figured it out. its just "border"

Thanks anyway!

I couldnt do it without your previous post!

me'
02-13-2004, 07:48 PM
Originally posted by Roy Sinclair
<hr style="width: 2px; height: 400px;" /> -- Try it Questionable semantics.

Roy Sinclair
02-13-2004, 08:09 PM
Originally posted by me'
Questionable semantics.

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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum