Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting vertical and horizontal lines

Status
Not open for further replies.

emcinc

Programmer
Mar 24, 2001
69
US
How do you insert vertical and horizontal lines not just for layout purposes? Basically just simple lines to seperate areas from one another. I hope someone understands what I'm trying to say. It is just basically the same lines you use when laying out with tables and cells but just like a vertical line along the side to seperate the menu from the main content and then a line along the top to seperate the title from the main content no more than 2-4 pixels in width. Does anyone know how to do this? Or what page is it on in the DW4 manual or perhaps some other tutourial site?
Thanks for your help please let me know something I couldn't find it in the manual myself but it has to be somewhere!
 
The only 2 ways I know to accomplish this is to either insert a horizontal line (Insert/Horizontal Rule) and make the width=5 px and height=400 or however long you want it to be.

This will almost have to be done inside a table or you will not be able to put anything beside it. I would personally build the site using layers and then convert to tables.

You can also create a table (1 row x 2 columns) and have the cells to merge vertically. Click inside the cell and set a background color using the properties panel. Border=0.

This will also create a vertical line and once again will need to be well thought out and implemented inside other tables to get the positioning correct.

Actually now that I am thinking about it... You could also just draw layers that are 4 px wide and say 400 px in heighth. Set a background color and presto you have a vertical line.

Always remember when using layers to convert back to tables at some point in time so older browsers can benefit from the creativity. (Modify/Convert/Layers to Tables) Ya' Gotta Love It!:)X-)
 
Thanks Tulsajeff another great suggestion I will try this out right away. Seriously though I can't beleive there is not a simpler way, maybe there is some sort of extension for this do you know of one?
 
There is a simpler way. Do the whole page as a graphic. Of course, this presents MASSIVE problems, on the scale of "this is why people bother using HTML" and whatnot...

but it would be a lot easier to make a verticle line, a la click the tool the color, set the width, hold shift (to maintain a 90 degree angle) and go to it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top