blacktears
01-26-2006, 02:08 PM
I am trying to get the border around my image links to highlight white when the mouse rolls over it. This works fine in Firefox but then goes purple and blue in IE. I have fixed that problem but now I am finding that on both programs as soon as the link is clicked the hover doesn't turn white again. Is there anyway to fix this?
This is the CSS code:
body { background-color: #202A36;
margin: 10px;
color: #D4D4D4;
font-family: arial;
font-size: 9pt;
line-height: normal }
FONT { color : white; }
a:link {
color: #202A36;
text-decoration: none;
}
a:visited {
color: #202A36;
text-decoration:none;
}
a:hover {
color: #ffffff;
text-decoration: none;
}
a:link img {border-color:#202A36;}
a:hover img{border-color: #ffffff;}
a:visited img{border-color: #202A36;}
#wrap {
width: 550px;
}
#leeway {
top: 30px;
left: 0px;
margin: 0px;
position: absolute;
}
#whitelines {
top: 66px;
left: 490px;
width: 490px;
margin: 0px;
position: absolute;
}
#bottomline {
top: 512px;
left: 0px;
margin: 0px;
position: absolute;
}
#menu {
top: 30px;
left: 440px;
margin: 0px;
position: relative;
}
#designed {
top: 538px;
left: 18px;
margin: 0px;
position: absolute;
font-size: 7pt;
font-style: arial;
}
#rainstorm {
top: 531px;
left: 233px;
margin: 0px;
position: absolute;
}
#main {
top: 531px;
left: 74em;
position: absolute;
}
#border {
top: 90px;
left: 32px;
position: absolute;
}
#player {
top: 528px;
left: 550px;
position: absolute;
}
#para1 {
top: 190px;
left: 80px;
width: 200px;
height: 50px;
position: absolute;
}
#para2 {
top: 190px;
left: 350px;
width: 200px;
height: 50px;
position: absolute;
}
#lee {
top: 129px;
left: 600px;
width:200px;
height: 50px;
position: absolute;
}
p {
text-align: justify;
line-height: 1.1em;
width: 200px;
}
div#menu li{
display:inline;
}
#links {
top: 80px;
left: 400px;
position: relative;
}
#linktext {
top: 120px;
left: 530px;
width: 420px;
position: absolute;
font-size: 8pt;
}
ul { list-style-type: none }
This is the CSS code:
body { background-color: #202A36;
margin: 10px;
color: #D4D4D4;
font-family: arial;
font-size: 9pt;
line-height: normal }
FONT { color : white; }
a:link {
color: #202A36;
text-decoration: none;
}
a:visited {
color: #202A36;
text-decoration:none;
}
a:hover {
color: #ffffff;
text-decoration: none;
}
a:link img {border-color:#202A36;}
a:hover img{border-color: #ffffff;}
a:visited img{border-color: #202A36;}
#wrap {
width: 550px;
}
#leeway {
top: 30px;
left: 0px;
margin: 0px;
position: absolute;
}
#whitelines {
top: 66px;
left: 490px;
width: 490px;
margin: 0px;
position: absolute;
}
#bottomline {
top: 512px;
left: 0px;
margin: 0px;
position: absolute;
}
#menu {
top: 30px;
left: 440px;
margin: 0px;
position: relative;
}
#designed {
top: 538px;
left: 18px;
margin: 0px;
position: absolute;
font-size: 7pt;
font-style: arial;
}
#rainstorm {
top: 531px;
left: 233px;
margin: 0px;
position: absolute;
}
#main {
top: 531px;
left: 74em;
position: absolute;
}
#border {
top: 90px;
left: 32px;
position: absolute;
}
#player {
top: 528px;
left: 550px;
position: absolute;
}
#para1 {
top: 190px;
left: 80px;
width: 200px;
height: 50px;
position: absolute;
}
#para2 {
top: 190px;
left: 350px;
width: 200px;
height: 50px;
position: absolute;
}
#lee {
top: 129px;
left: 600px;
width:200px;
height: 50px;
position: absolute;
}
p {
text-align: justify;
line-height: 1.1em;
width: 200px;
}
div#menu li{
display:inline;
}
#links {
top: 80px;
left: 400px;
position: relative;
}
#linktext {
top: 120px;
left: 530px;
width: 420px;
position: absolute;
font-size: 8pt;
}
ul { list-style-type: none }