View Full Version : Hover not working


J E P P O
06-03-2003, 10:27 PM
I have a style sheet that goes like this


<style type="text/css">
<!--

A:link
{ text-decoration: value underline overline; color:#000000 }
A:visited
{ text-decoration: value none; color:#000000 }
A:active
{ text-decoration: value none; color:#000000 }
A:hover
{ text-decoration: value none; color:#0099CC; font-weight:bold;

body {cursor:crosshair}
A {cursor:crosshair;}

body
{
scrollbar-face-color:"#006699";
scrollbar-highlight-color:"#006699";
scrollbar-3dlight-color:"#006699";
scrollbar-shadow-color:"#006699";
scrollbar-darkshadow-color:"#006699";
scrollbar-track-color:"#006699";
scrollbar-arrow-color:"#000000";
}

.foo {margin:0px 0px 0px 15px;}
</style>

everything except the link is working, u c it doesn't have overline underline, it just stays the same,

thanx stax

pb&j
06-03-2003, 10:53 PM
took out the word VALUE.
added the ending bracket for HOVER.
added ending semicolons to link properties.
moved crosshair into rest of BODY parameters.
removed quotes around color values in BODY parameters.

try this...

<style type="text/css">
<!--
a:link
{text-decoration: underline overline; color:#000000;}
a:visited
{text-decoration: none; color:#000000;}
a:active
{text-decoration: none; color:#000000;}
a:hover
{text-decoration: none; color:#0099CC; font-weight:bold;}
a
{cursor:crosshair;}

body
{cursor : crosshair;
scrollbar-face-color:#006699;
scrollbar-highlight-color:#006699;
scrollbar-3dlight-color:#006699;
scrollbar-shadow-color:#006699;
scrollbar-darkshadow-color:#006699;
scrollbar-track-color:#006699;
scrollbar-arrow-color:#000000;}

.foo
{margin:0px 0px 0px 15px;}
</style>

J E P P O
06-03-2003, 11:06 PM
nope it still doesn't work, even when i do that...but it works on everything after that eg hover etc

*looks confused*

pb&j
06-04-2003, 02:47 AM
can you show the page this is not working on?
your css is working good on your main site listed at your WWW.

J E P P O
06-04-2003, 08:28 AM
yeah, that's the page...but i want the link b4 u hover or visit or anything, tobe underlined overlined or isn't that possible.

i am sooooooo soz if it isn't...:(

pb&j
06-04-2003, 06:18 PM
yes, my previously mentioned fix to the coding should work then.

you may not be experiencing the effect considering your computer is thinking that the links are already visited and thus not seeing the initial normal link affect.

A:LINK is only when you are viewing a non-visited, non-hovered, non-active link.

when i visited your page, the OVERLINE property was not present in the coding. you just had the UNDERLINE in there by itself and that was working.