Within the menu for my site, I have inserted 'class="current "' within
the link for the current page. So the link looks somthing link:
<li><a href="index.php " class="current" >Home</a></li>
The css for formatting the menu links is:
#menu a:hover {
background-color: #E00080;
color: white;
}
#menu a:active {
background-color: #E00080;
color: white;
}
#menu li li a {
display: block;
color: white;
background-color: #C00080;
width: 100%;
padding: 0.5em 0.5em 0.5em 2em;
text-decoration: none;
border-bottom: 1px solid #fff;
font-weight: normal;
font-size: 75%;
}
and for the "current" link:
..current {
background-color: red;
}
But the formatting does not show up.
Does anyone have any idea what I'm doing wrong? If you would like to
look at the complete site, go to:
Thank you for your help,
Don
PS If you have any suggestions, please feel free to offer them. The
general color scheme is non-negotiable though (it's for my daughter
after all). Though, I might work up some alternate stylesheets.
the link for the current page. So the link looks somthing link:
<li><a href="index.php " class="current" >Home</a></li>
The css for formatting the menu links is:
#menu a:hover {
background-color: #E00080;
color: white;
}
#menu a:active {
background-color: #E00080;
color: white;
}
#menu li li a {
display: block;
color: white;
background-color: #C00080;
width: 100%;
padding: 0.5em 0.5em 0.5em 2em;
text-decoration: none;
border-bottom: 1px solid #fff;
font-weight: normal;
font-size: 75%;
}
and for the "current" link:
..current {
background-color: red;
}
But the formatting does not show up.
Does anyone have any idea what I'm doing wrong? If you would like to
look at the complete site, go to:
Thank you for your help,
Don
PS If you have any suggestions, please feel free to offer them. The
general color scheme is non-negotiable though (it's for my daughter
after all). Though, I might work up some alternate stylesheets.
Comment