|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Oct 2001
Location: ottawa, ontario
Posts: 183
|
Vertical line in HTML
Hi all,
How does someone put a vertical line in a website. I know how to put an horizontal one but not vertical. Or, in a table, can someone specific which side has a border ? Thanks |
|
|
|
|
|
#2 | |
|
Member (1 million bit!)
Join Date: Feb 2003
Location: NY
Posts: 1,160
|
I don't know of any tag that will do that, but you could always use an image. Also you could make a table that will include a vertical line in the middle.
__________________
![]() |
|
|
|
|
|
|
#3 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Yep it's pretty easy to do it with using inline styles. You can do it a number of ways actually for example:
with tables Code:
«table border="0"» «tr» «td style="border-left: 2px solid Black;"» Vertical line in HTML«br» Hi all,«br» How does someone put a vertical line in a website. I know how to put an horizontal one but not vertical. Or, in a table, can someone specific which side has a border ? Thanks«/td» «/tr» «/table» Code:
«DIV style="border-left: 2px solid Black;"»Vertical line in HTML«br» Hi all,«br» How does someone put a vertical line in a website. I know how to put an horizontal one but not vertical. Or, in a table, can someone specific which side has a border ? Thanks«/DIV» Code:
«P style="border-left: 2px solid Black;"»Vertical line in HTML«br» Hi all,«br» How does someone put a vertical line in a website. I know how to put an horizontal one but not vertical. Or, in a table, can someone specific which side has a border ? Thanks«/P» Last edited by Statica; 12-02-2004 at 03:12 PM. |
|
|
|
|
|
#4 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
You can also achieve the same effect with the old trick of using an image. Create a transparent gif 1px by 1px and call it clear.gif, then just put it in a column something like:
<td bgcolor="#000000" height="100" width="1"<>img src="images/clear.gif"> It can be a little harder to control the height using css. You won't find anything similar to the <hr> tag though.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|