Forum Moderators: open

Message Too Old, No Replies

filling the void

div relative float space

         

theonliest

5:31 pm on Nov 6, 2002 (gmt 0)

10+ Year Member



I've made a centred fixed width page using a combination of tables and css and have created a nav box to appear on the left of the fixed width area using a relatively positioned div with a negative left value, therefore the main body is always centred and the nav box will be aligned to the left of this... the only problem is the gap left by the relative div, how do I get rid of this without resorting to ludicrously overwritten style sheets (which defeats the purpose of using them in the first place)

marek

6:01 pm on Nov 6, 2002 (gmt 0)

10+ Year Member



Why not to position the left DIV absolutely? On the other hand, if the page is fixed width and centered, how do you know the left DIV fits on the left margin?