Seeking the most effective method to achieve the following layout:
--------------------------|--------------------------
| |
| -------- ------------------------- |
| | menu | | | |
| | | | | |
| -------- | #content | |
| | | |
| | | |
| | | |
| ------------------------- |
| |
| |
--------------------------|--------------------------
The #content
div is horizontally centered with a fixed width. The #menu
div is meant to stick to the left side of #content
.
Currently, I have both divs inside a container div #wrap
that matches the width of #content
with margin:auto
. I position #menu
absolutely and apply a negative margin-left
value. However, this setup does not create a horizontal scroll bar for #menu
when the browser window is resized smaller (which it should for usability).
I appreciate any suggestions for a better solution!