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

Menu control in a CSS box

Status
Not open for further replies.

lilboi

Programmer
Dec 22, 2003
146
CA
I'm about to loose my head here. First i created the menus in pure CSS. Everything works out fine. THen asp.net 2.0 has this awesome menu navigation control and i wanna use that instead because it does the sitepath as well.

Anyways, I changed it up. I plan to have the menu control in the CSS container. A horizontal menu.

Code:
#mainmenutube{
	margin-top: 0;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	height: 25px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	font-weight: bold;
	font-size: 11px;
	background-color: #C1DA84;
}

The height of the container is suppose to be 25px. I placed the menu control in there, set the height to 100%, yet, it doesn't fit right in. I then set it to 25px. I doesn't. It's always smaller than the container. I checked out the padding and their all 0.

What feature do i change for this menu control so that when i highlight it, it'll highlight the whole 25px, not just the height of the font.

Thanks,

JOhn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top