While new to CSS, I am generally decent at figuring out layouts either on my own, or by working from examples I find online. I just can't get a layout I am working on right though. There are a few too many factors going on with positioning and floats. I can get parts of it to work, but can't seem to combine everything I want to do.
From the screenshot below:
The 'wrapper' div is centered, and it's width is a fixed size (800 px). The height is supposed to be autosized to fit the content.
I seem to be able to get the wrapper, and the logo correct. When I try to add more than that I just get into a mess. I thought I almost had it at one point, then the wrapper would not auto size in height with the content.
I think there are 2 main problems I am having difficulty with position, z-index, and any floats I need to use. 2nd, I don't know how to set up the divs properly in the html so that are in the correct order. There are samples around like this one: http://www.code-sucks.com/css layouts/fixed-width-css-layouts/2-column-css-layouts/fw-14-2-col/ but I want to have the navigation top aligned with the logo.
Here is a mockup of what I am going for. Any tips would be HUGELY appreciated as I am ripping out my hair trying to get it.
This is the CSS I have that is working, anything I add from here turns into a mess:
From the screenshot below:
The 'wrapper' div is centered, and it's width is a fixed size (800 px). The height is supposed to be autosized to fit the content.
I seem to be able to get the wrapper, and the logo correct. When I try to add more than that I just get into a mess. I thought I almost had it at one point, then the wrapper would not auto size in height with the content.
I think there are 2 main problems I am having difficulty with position, z-index, and any floats I need to use. 2nd, I don't know how to set up the divs properly in the html so that are in the correct order. There are samples around like this one: http://www.code-sucks.com/css layouts/fixed-width-css-layouts/2-column-css-layouts/fw-14-2-col/ but I want to have the navigation top aligned with the logo.
Here is a mockup of what I am going for. Any tips would be HUGELY appreciated as I am ripping out my hair trying to get it.

This is the CSS I have that is working, anything I add from here turns into a mess:
Code:
#wrapper { background-color: #333; height: auto; width: 795px; top: 10px; position: relative; z-index: 1; visibility: visible; margin: auto; padding: 0; border: solid 3px #fff; -moz-border-radius: 1em; border-radius: 1em; }
#logo { background-image: url(../media/iclogo_black.png); background-repeat: no-repeat; height: 200px; width: 205px; position: absolute; visibility: visible; float: left; margin-left: 8px; }