CSS navigation alignment
- Started
- Last post
- 3 Responses
- dijitaq0
i right align the last element. that usually works for me.
- juhls0
I'll email you!
- acescence0
can you show us the actual page? i'll guess it has something to do with the explicit width of .menu and the stuff floating inside being too wide.
- juhls
Every time I change the width of the navigation to line up (on the right side) with the grey line at the bottom, this happens:
The last nav item goes down.
Here's some of the code that was there before (the logo is to the left of what I posted above):
#header .logo{ position: relative; float:left; padding:49px 0 0 0; margin-top: 0px;}
#header .menu{ float:left; width:653px; margin-right: 0px;}
#header .menu ul{ padding:15px 0 0 0; margin:0;}
#header .menu li{ float:left; padding-left:1px;}
#header .menu a{display:inline-block; background:#28181b; font-size:11px; text-transform:uppercase; font-weight:bold; padding:19px 14px 19px 14px; text-decoration:none; color:#fff;}
#header .menu .li_un a{ padding:19px 20px 19px 21px;}
#header .menu a:hover{ background:#534649;}It's probably something simple that I missed...
Thanks for any help!