Click to See Complete Forum and Search --> : default overrides


steven
04-16-2003, 04:44 PM
Hey, i was wondering if anyone could point me in the direction of a script that could override my default link script. what i have is a basic script that says certain links will change to a certain color on mouseover, i was just wondering if someone could give me the script so i can make certain links not change colors on mouseover.
i assume this is a pretty basic thing, but i just dont know how. hope that all makes sense. thanks.

pyro
04-16-2003, 09:02 PM
Something like this, perhaps?

<style type="text/css">
A.mylinks:link, A.mylinks:visited, A.mylinks:active
{
color: darkblue;
text-decoration: none;
}
A.mylinks:hover
{
color: red;
text-decoration: none;
}
</style>
</head>
<body>
<a href="http://www.w3c.org" class="mylinks">test</a>

steven
04-17-2003, 05:17 PM
edit: nevermind, i figured it out. thanks.