1
votes

I have a header with a logo and a nav menu.

I want the nav menu to align on the bottom of the logo by the red bottom border.

Here is my jsfiddle

http://jsfiddle.net/nnEr9/3/

The nav bar should aligned to the far right, with the logo on the far left.

The width should be 960px.

2
Like this? jsfiddle.net/nnEr9/4WojtekT
Put the navbar in a <div> and float it to the left, so that it's aligned with the logo. Edit: Ok, so you want it to the right edge of the logo?Brendan Lesniak
@WojtekT no because, I want the nav menu on the right not under the logoRSM
Give #header a width, like this: jsfiddle.net/kjmatthews/nnEr9/5Kyle
Use positioning instead of floats: jsfiddle.net/LSz3m. But I think I misunderstood your question...Zeta

2 Answers

3
votes

Use positioning instead of floats. Add position:relative to your #header and position:absolute;right:0;bottom:0; to your navigation.

JSFiddle Demo

See also:

0
votes

is that the result you wanted? http://jsfiddle.net/nnEr9/3/