Here is the section of my CSS code containing links.
HTML Code:
a:link {
text-decoration: none;
color="#000099";
font-weight: bold; }
a:visited {
text-decoration: none;
color="#000099";
font-weight: bold; }
a:hover {
text-decoration: underline;
color="#000000";
font-weight: bold; }
a.side:link {
text-decoration: underline;
color="#FFFFFF";
font-weight: bold; }
a.side:visited {
text-decoration: underline;
color="#FFFFFF";
font-weight: bold; }
a.side:hover {
text-decoration: underline;
color="#000099";
font-weight: bold; }
The codes for links I am using on pages linked to the stylesheet above look like this:
HTML Code:
<a href="site.php">Click here</a>
<a href="site.php" class="side">Click Here</a>
Is there anything wrong with these codes? These are the updated ones based on what you said and they still look fine in IE but cause even more problems in FF. Any suggestions?
Thanks!
~anwipr
(By the way, adding the units to line-height works. I'm not sure what "em" stands for, but it works! Adding some sort of units definately seems sensible, when I first read about the line-height tag, it said units weren't necessary; I guess they were mistaken...)
Last edited by anwipr; 02-01-2007 at 05:41 PM..
|