Inside my HTML first comes menuBar div, later main and last footer...So footer is placed according to main (fixed-relative to it since it is default unless otherwise mentioned)..
Here comes the problem (i guess common and simple but i haven't yet figured what is to blame): when the content of main div is short, footer "jumps" over the menuBar messing the design...
how can i instruct the layer footer to position itself according to menuBar's height + a value..If possible, i want to maintain the absolute positioning of the menubar unless it is impossible to do so...
now the footer is placed underneath the longest div (both menuBar and main are fixed-relative)...
There is another problem though...I need to keep the menubar explicitely sized (i.e. 170px) and place the main div next to it by just declaring margin (no widths)..Kinda like this code:
What can be done...I need to keep the menuBar explicit (170px) and the main to strecth ( liquid) without declaring width....
This trick works fine if i declare position: absolute for the menubar but, as i have mentioned in the previous thread, i need relative-fixed for the menuBar to keep the footer ok....
How can i have both (menubar 170px and main without explicit width) without sacrificing one or the other???
Originally posted by cssrules
Everything's ok under Mozilla.. IE 6 though seems to create a nasty gap next to the div i have as a title...
Yepp, there is a know bug in IE that makes it for some reason add a 3px margin on things next to a float.
One of the many issues that makes IE blow as a browser.
Bookmarks