Previous Message
Next Message

Positioning Confusion

Sent by Jim Davis on 2 September 2005 05:05

Using position: absolute for the menu is placing the menu in relation to the 
top left corner of the viewport. I would change the menu div to:

position: relative;<--could be deleted
width: 760px;
margin-left: auto;
margin-right: auto;
margin-top: -20px;
padding-left: 5px;
height: 25px;
background: url( 


On 9/1/05, Klear [EMAIL-REMOVED]> wrote:
> I could not find answers to my specific problem in
> past postings, so here is my situation:
> CSS:
> I am trying to develop a simple centered layout with a
> flow like this:
> Header
> Menu
> Content
> Footer
> The layout should all fall within a width of 760
> pixels. My problem comes down to positioning
> everything. I am not sure why my menu is not falling
> directly underneath the header. I thought I understood
> the box model, but I guess not =/
css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: