T
tshad
I have been trying to use CSS in my ASP.NET pages and am trying to figure
out the Stylesheet order and differences between Netscape (and Mozilla) and
IE.
I have the following in my .css file that is linked by:
<link href="staffing.css" rel="stylesheet" type="text/css">
*******************************************************************
a {
font-size:smaller;
}
a:link {
color:#4AAABD;
}
a:visited {
color:#4AAABD;
}
a:active {
color:#4AAABD;
}
*****************************************************************
This makes my links in my menu dark turquoise and underlined. It doesn't
change at all when hovering over the links.
It is the same with both Netscape and IE. The letters in IE are quite a bit
larger that Netscape, for some reason
This makes it difficult using "small" instead of a fixed size.
If I add the following into the html page:
a { color: #0000BB; text-decoration: none; }
a:hover { color: #FF0000; text-decoration: underline; }
In IE and netscape, it takes the underline away when you are not hovering
and adds the undeline when you are hovering (as it should).
But, IE will change the letters to "Red", which it should and Netscape (and
Mozilla) don't. It is still the dark turquoise. Why is that?
If I take the links out of the .css file, the links will be blue and will
turn red when hovering in all the browsers.
So why doesn't it change red in Netscape. The text-decoration works, why
not the color?
Thanks,
Tom
out the Stylesheet order and differences between Netscape (and Mozilla) and
IE.
I have the following in my .css file that is linked by:
<link href="staffing.css" rel="stylesheet" type="text/css">
*******************************************************************
a {
font-size:smaller;
}
a:link {
color:#4AAABD;
}
a:visited {
color:#4AAABD;
}
a:active {
color:#4AAABD;
}
*****************************************************************
This makes my links in my menu dark turquoise and underlined. It doesn't
change at all when hovering over the links.
It is the same with both Netscape and IE. The letters in IE are quite a bit
larger that Netscape, for some reason
This makes it difficult using "small" instead of a fixed size.
If I add the following into the html page:
a { color: #0000BB; text-decoration: none; }
a:hover { color: #FF0000; text-decoration: underline; }
In IE and netscape, it takes the underline away when you are not hovering
and adds the undeline when you are hovering (as it should).
But, IE will change the letters to "Red", which it should and Netscape (and
Mozilla) don't. It is still the dark turquoise. Why is that?
If I take the links out of the .css file, the links will be blue and will
turn red when hovering in all the browsers.
So why doesn't it change red in Netscape. The text-decoration works, why
not the color?
Thanks,
Tom