Skip to content

Instantly share code, notes, and snippets.

@AHartTN
Created June 28, 2011 16:55
Show Gist options
  • Save AHartTN/1051581 to your computer and use it in GitHub Desktop.
Save AHartTN/1051581 to your computer and use it in GitHub Desktop.
ASP.NET Menu generated HTML CSS Classes and IDs
#NavigationRow
{
background-color: #3a4f63;
width: 100%;
}
#NavigationCell
{
width: 100%;
clear: both;
}
.Navigation
{
padding: 4px 0px 4px 8px;
}
.Navigation ul
{
list-style: none;
margin: 0px;
padding: 0px;
width: auto;
}
.Navigation ul li a, .Navigation ul li a:visited
{
background-color: #465c71;
border: 1px #4e667d solid;
color: #dde4ec;
display: block;
line-height: 1.35em;
padding: 4px 20px;
text-decoration: none;
white-space: nowrap;
}
.Navigation ul li a:hover
{
background-color: #bfcbd6;
color: #465c71;
text-decoration: none;
}
.Navigation ul li a:active
{
background-color: #465c71;
color: #cfdbe6;
text-decoration: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment