View Full Version : fixed position for fireworks html in a table

12-19-2007, 11:46 PM
Okay, I'm new to working with divs, but so far this has been the best solution to my new layout.
Basically, I created 3 divs, one for the header, body and footer. In the body, I used css to define a repeating background image, so my page can "grow" with the content.
In the body div I inserted a 2 column table. In the left column I inserted a fireworks html pop up navigation.
My issue is that when I enter more content into the left column of the table, the popup nav table moves down the screen.
Is there a way to use css to position this fireworks table within the main table so it always stays at the top?

I tried editing the the css for the fireworks table and using a fixed position for the top, but I couldn't get that to work.
Can I use relative positioning for this? I played with this and couldn't get it to work, but I've never used it before, so that may be the problem.
Does that make sense?
Here is the link:
http://www.ellejaysproduction..._template.html (http://www.ellejaysproduction..._template.html)

This is for an intranet site, so users only have IE6 and up... if that makes a difference.

Thanks in advance for any help!

12-20-2007, 03:20 AM
Link does not work for some reason. Why would you create div's and then still use a table for layout?

12-20-2007, 07:52 AM
post your code and post a new link to your web page

12-20-2007, 12:30 PM
I'm new to working with divs. Should I created another div inside the .main_body to hold my fireworks navigation? Then another div there to hold my main content? Thanks!

Here is a link to the main external style sheet:
www.ellejaysproductions.com/CMH/intracss.css (http://www.ellejaysproductions.com/CMH/intracss.css)
And a link to the style sheet that was created by fireworks to handle the popup menu:

Here is the code attached. I took out the header div info because the file was to large (it had a lot of js rollover stuff from FW).

12-20-2007, 01:02 PM
Should I created another div inside the .main_body to hold my fireworks navigation? Then another div there to hold my main content? Thanks!
Yes, according to web standards, tables are used for tabular data, not for layout. :)

12-20-2007, 06:11 PM
Okay here is my attempt to use the divs for the content

I don't understand why my background image is displaying in the main_body div.
and why my content div isn't more to the right?

Why is my footer div displaying so high up, shouldn't it come in below my popup div ?

Thanks again for helping out a newbie. I'll keep playing on my end for a solution.