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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple navigation menu

Status
Not open for further replies.

BabbleBoy

Programmer
Jul 28, 2005
1
AT
Hi,

I want to build a simple navigation menu with the help of an unordered list. Preliminary result:

HTML: CSS:
The gray bar should continue to the right of the last menu entry - but unfortunately its vertical distance incorrect (i.e. there should be one single gray bar). :-(

Any ideas?

Many thanks in advance,
B/B
 
remove the border-bottom from the ul (navlist) and create another div with just a non-breaking space after the ul, but inside the first div. Then give that new div the following CSS:
Code:
#navSpacer
{
	margin: 0;
	padding: 3px 5px;
	border-bottom: 3px solid #bbb;

}

[plug=shameless]
[/plug]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top