This Message Forum is no longer in use

Please use the new Bravenet Help Forums FOUND HERE

General Forum
This Forum is Locked
Author
Comment
.hr tag

Is there a .vr tag for vertical rule... if not is there a cheat to achieve the same thing ?

Thanks in advance

Re: .hr tag

Thier is no such thing as a vertical rule tag in html.

Re: .hr tag

You could use an image of a vertical line...also heres a tutorial on making a vertical line with table tag

Create a "Thin" Table to Divide Your Columns

Re: .hr tag

Look what I found....all CSS...I was just looking at a blog template, when I noticed a vertical line..using border-left property....

this is just an inline example i made to show up here:


this is where the text goes


I didn't want to copy the exact coding from the blog, so I adapted it....

CSS/style sheet:

.content {width:300px; height:200px; border:2px dotted black;}

HTML:


this is where the text goes

Re: .hr tag

...on HTML-kit the border-left shows as being 200px in height, why its not showing up here, I don't know....

but it does work

Re: Re: .hr tag

Inline elements such as span don't have a height. Only block elements have a height. If you want to use the border-left attribute to display a vertical line then it needs to be on a block element. eg.

Some text

Re: .hr tag

Thanks Stephen, I'll remember that...it had height in the editor and previewing in IE....so i just assumed it worked...sorry about that