Page 1 of 1

How do i Put a Virtical Divideo on the page?

Posted: Sat Nov 15, 2003 11:07 pm
by Iang987
Using HTML how do i make a Vertical line????

Posted: Sat Nov 15, 2003 11:24 pm
by m3mn0n
There is no vertical line tag, you'll need to use a graphic.

edit: oops ;)

Posted: Sat Nov 15, 2003 11:25 pm
by gavinbsocom
he asked for a verticle not a horizontal....<hr> puts ina horizontal....i have never herd of a <vr> doesnt work i dont think???

Posted: Mon Nov 17, 2003 2:31 am
by twigletmac
You can put a border on the side of a div or a table column to give the impression of a vertical rule.

Mac

Posted: Mon Nov 17, 2003 6:11 am
by gavinbsocom
yah i thought about that but there is no specific way to do it like a horizontal line?

Posted: Mon Nov 17, 2003 6:21 am
by JayBird
You can do vertical rules!!

there a few methods

Method 1(HTML):

Code: Select all

<hr width="1" size="100" noshade align="center">
Method 2(CSS):

Code: Select all

<hr style="height: 100px; width: 1px">
Method 3:

Code: Select all

<html>
<head>
<title>untitled</title>
<style type="text/css"> 
.vertRule &#123; width: 3px; vertical-align: top; margin-left: 3px; margin-right: 5px; &#125; 
</style>
</head>
<body>
blah blah blah <span class="vertRule" style="height:100%;border:3px gold inset;"></span> blah
blah blah <span class="vertRule" style="height:100%;border:3px gold outset;"></span> blah
blah blah <span class="vertRule" style="height:100%;border:3px olive groove;"></span> blah
blah blah <span class="vertRule" style="height:100%;border:3px tan ridge;"></span> blah
blah blah <span class="vertRule" style="height:100%;border:3px #c0c0c0 double;"></span> blah
blah blah
</body>
</html>
Not sure about the compatability of all these methods though!

Mark

Posted: Mon Nov 17, 2003 11:44 pm
by m3rajk
method one has 3 issues: noshade is the only one that might not be deprecated, the other three are and you need to use css.

Posted: Tue Nov 18, 2003 9:22 am
by gavinbsocom
You can do it style sheets....


.name {
border-right or left: 1px solid color;
}

Posted: Wed Nov 19, 2003 8:52 pm
by Iang987
Where do i put that on the form Between the two things I wana Seperate?