Return to the Web Authoring Forum | Post a Follow-Up

vertical line -- HTML

Posted by Doublem (My Page) on
Wed, Nov 14, 01 at 19:04

I know how to get a horizontal line

But does anyone know what the tags are for a vertical line?



Follow-Up Postings:

RE: vertical line -- HTML

there are no tags for a vertical line. the only way i know is to use a gif picture that is a line.


RE: vertical line -- HTML

Thanks, James,

Perhaps I can accomplish what I'm trying to do with tables.


RE: vertical line -- HTML

Here is site that might help.

Here is a link that might be useful: Webmaster

RE: vertical line -- HTML

Thanks, KenE,

That's just what I needed :)

I had something similar in mind, but this is much better.

Thanks, again


RE: vertical line -- HTML

If you are using a single color line, you can try to force a size to it. If - for example - your GIF file name is red.gif, try this:
img width="2" height="1000" src="red.gif"
Put the above sentence in <> brackets

RE: vertical line -- HTML

Doublem, you might find the following link interesting...scroll down near bottom of page.


Here is a link that might be useful: PageTutor (lesson 11)

RE: vertical line --- HTML

Ron and Joy,

You both came up with the same solution.

This is how well it works :)

Thank you!


RE: vertical line -- HTML

I have coded a verticle line with a nested table. You can see the code here:

I left the borders set to 1 so you can see what the tables look like. To get rid of the borders set border=0 in both the outer and inner table. To vary the position of the line change the td width=25% to any percentage you like. You can also change the color of the line by changing the bgcolor="anycolor". Play with this code and you might want to use some version of it. Nested tables are very handy, but you should always include comments so you can see what's going on and not get lost.


 o Post a Follow-Up

Please Note: Only registered members are able to post messages to this forum.

    If you are a member, please log in.

    If you aren't yet a member, join now!

Return to the Web Authoring Forum

Information about Posting

  • You must be logged in to post a message. Once you are logged in, a posting window will appear at the bottom of the messages. If you are not a member, please register for an account.
  • Please review our Rules of Play before posting.
  • Posting is a two-step process. Once you have composed your message, you will be taken to the preview page. You will then have a chance to review your post, make changes and upload photos.
  • After posting your message, you may need to refresh the forum page in order to see it.
  • Before posting copyrighted material, please read about Copyright and Fair Use.
  • We have a strict no-advertising policy!
  • If you would like to practice posting or uploading photos, please visit our Test forum.
  • If you need assistance, please Contact Us and we will be happy to help.

Learn more about in-text links on this page here