Posts: 36
Name: Greta
Location: Winchestertonfieldville
|
I'm fairly new at using CSS but I can see the usefulness of the code immediately after implementing it. There's one problem that I don't understand. Here is my code:
Code:
<style type="text/css">
A:link {
color: #24A604;
text-decoration: none;
}
A:visited {
color: #24A604;
text-decoration: none;
}
A:hover {
color: #0055DA;
text-decoration: underline;
}
A:active{
color: #0055DA;
text-decoration: underline;
}
TABLE.center{
text-align: center;
color: #FFFFFF
}
TR.header{
text-decoration: underline;
color: #ffffff;
font-size: large;
}
TR.even{ background: #000B4C; color:ffffff;
}
TR.odd{ background: #0E4900; color:ffffff;
}
</style>
I linked all my pages to this code. However, the "A:link" color code doesn't always work on my links. It's very odd, but when I place the code directly into the htm code instead of linking to the css file, the code works perfectly. Why is this?
|