This is ugly.
Code:
<style type="text/css">
} /* This brace shouldn't be here. */
a.nav:link, a.nav:visited, a.nav:active {
text-decoration: none;
font-family:Century Gothic ; /* You should specify a generic font family, such as sans-serif. */
font-style: bold; /* This isn't a valid font-style. You probably want font-weight. */
font-size: 9pt; /* Points are a print size, and shouldn't be used for anything that will be displayed onscreen. */
line-height: pt; /* Again, don't use points except on a print stylesheet, and you haven't specified a value. */
color: 000000 ; /* Hex colours need to be prefixed with #. */
background-color: ; /* This is not a valid value. Try "transparent". */
cursor: default;
display: block;
margin: 0;
margin-bottom: 2px;
padding: 0px; /* these three */
padding-left: 1px; /* lines are */
padding-right: 1px; /* redundant. */
/* padding: 0 1px; /* This can be used instead. */
}
a.nav:hover {
text-decoration: none;
font-family: ; /* This is not a valid font family. */
font-style: bold; /* Again, see font-weight. */
font-size: 10pt; /* Tsk, points. */
line-height: 0pt; /* 0 doesn't need a unit. */
color: gggggg; /* Colours need to be prefixed with #, and G is not a valid hex digit. */
background-color: gggggg; /* Ditto. */
cursor: default;
display: block;
margin: 0;
margin-bottom: 2px;
padding: 0px; /* These */
padding-left: 1px; /* lines */
padding-right: 1px; /* as above. */
}
</style>
Try:
Code:
<style type="text/css">
a.nav:link, a.nav:visited, a.nav:active, a.nav:hover {
text-decoration: none;
font-family: "Century Gothic", sans-serif;
font-weight: bold;
font-size: 0.9em;
line-height: 0;
color: #000000;
background-color: transparent;
cursor: default;
display: block;
margin: 0;
margin-bottom: 2px;
padding: 0 1px;
}
a.nav:hover {
font-size: 1em;
color: #ffffff;
background-color: #000000;
}
</style>
Notes: I have no idea what "gggggg" is meant to be, so I've guessed those colours. Also, I've assumed that 10pt == 1em, which won't always be the case -- they're different types of unit.

Originally Posted by
djr33
why's there a space before the semicolon? Not sure if that's required.
It's not required, but not a problem either.
Bookmarks