Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Horiz List navigation background 1

Status
Not open for further replies.
make the following change to your css:
Code:
#navMain {
	width: 100%;
	height: [!]23px[/!];
	vertical-align: middle;
	background-color: #6d794a;
}

-kaht

[small] <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <.</B>[/small]
[banghead] [small](He's back)[/small]
 
As an alternative to making height smaller on the line, you could make anchors bigger by using line-height (30px). That will also make your text appear in the vertical center of the bar.
 
Ooh - all good suggestions, but Vrag's looks neatest. I'll know when I get back to work Monday morning and try. And the vertical center part also an issue. Will let you all know then (if not sooner) and go for stars then.

Thanks,
Donna
 
Yes! Thanks, Vragabond - exactly what I needed.

Donna
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top