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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dreamweaver Template and Fireworks

Status
Not open for further replies.

Jstone4009

IS-IT--Management
Aug 31, 2005
4
US
Alright. I'm setting up a page using a template. I have pop-up menus in the left bar that is part of the template. The problem I'm having is when I add information to the "Content" (editable area) to the right side of that bar the content in the left bar of the template shift and white spaces are left in between each pop up menu. What's the deal? Some pages are just fine, but others have huge gaps only when viewed in a browser, they look fine on the page. If you have suggestions I'm open!
 
I assume you are using fireworks created tables?

If so, my answer is; Don't!

To retain your menu bar and not have it create gaps, it needs to be contained within it's own table.

A basic table layout I use (if I have to use tables, CSS is often better)

Outer table, with 3 rows and 3 collums.
Join first row so you have a colspan of 3 - this is for the header/ title
set width of first collum 2nd row to the width you want the menu to be.
Put self contained menu table into this cell.

join bottom row 3 collums, (colspan again) and use this as a footer.

join the two centre rows collums (the ones that don't have the menu) if you want, or leave them seperate, but assign widths to them, or you will have issues.

pictorially, you start with

row1 col1 | col2 | col3
row2 col1 | col2 | col3
row3 col1 | col2 | col3

and end up with

row1 colspan3 (header)
row2 col1(menu) | colspan2(content)(or two set width cols)
row3 colspan3 (footer)

Hope that helps.

----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top