[WEB4LIB] Re: CSS behavior ?
Drew, Bill
drewwe at MORRISVILLE.EDU
Thu Mar 8 13:42:47 EST 2001
Here is the code for hover out of our style sheet for our library webpage
at: http://www.morrisville.edu/library/
I have added a border to it. Not as complicated as it looks. Works well in
IE, Opera, and does not cause problems in Netscape or Lynx.
a:hover {
color:black;
background:yellow ;
font-weight: bold;
font-family : Verdana, sans-serif;
border-left-width : thin;
border-top-width : thin;
border-right-width : thick;
border-bottom-width : thick;
border-style : solid;
border-color:black;
font-size : 95%;
font-style : oblique;
}
a:active {
background: Silver;
text-decoration:none;
color: Black;
}
a:focus {
background:green;
color:#ff9900;
}
a:link {
color:black;
text-decoration:none;
background : transparent;
font-family : Verdana, sans-serif;
font-weight : bold;
}
a:visited {
background:transparent;
text-decoration: none;
font-family : Verdana, sans-serif;
color:blue;
font-weight : bold;
}
More information about the Web4lib
mailing list