I need help with CSS layout. It is configured as follows:
+ -------------------- +
| | | header |
| - | | -------------- |
| | nav | content |
| | | |
| | | |
| | | |
| footer |
+ -------------------- +
Thus, it is assumed that nav floats over the entire contents of the main page. That is why I am determined to be absolutely positioned. The problem is that nav elements are dynamic, with no height set. At the moment, the navigator is expanding the content. How can I fix this so that the content is set to automatic height based on navigation?
Thanks in advance.
Take a look at http://csslayout.commercev3.com/ to find out what I have. The problem is also that the floating left navigator and content div are dynamic. Thus, the content of the div should coincide with the left navigation minimum and expand for it its own content.
source
share