View Full Version : Two Seperate Hyperlink Effects on One Page..?
SolidWing68
05-07-2003, 04:06 PM
This is what I wanna do, first take a look at my website here
http://mywebpages.comcast.net/solidwing68/frontpage-main.html
now I wanna make a seperate rollover effect for where it says Quick Link at the top, and I wanna make another seperate effect for the menu thats in the table..how can I do this
Spudhead
05-07-2003, 04:51 PM
Aha. CSS classes :)
<style type="text/css">
A.class1:link, A.class1:visited, A.class1:active {
COLOR: #000000;
}
A.class1:hover {
COLOR: #000000;
Background-Color: #E6D996;
}
A.class2:link, A.class2:visited, A.class2:active {
COLOR: #999999;
}
A.class2:hover {
COLOR: #999999;
Background-Color: #000000;
}
</style>
<a class="class1">this will behave one way</a>
<a class="class2">this will behave another way</a>
oracleguy
05-07-2003, 04:53 PM
Just use CSS classes.
like,a.quick:link{some CSS}
a.quick:visited {some CSS}
a.quick:hover {some CSS}
Then on your link just do <a href="" class="quick">
<edit>Beaten by Spudhead</edit>
SolidWing68
05-07-2003, 05:03 PM
I'm not understanding the 2nd post totally...
sage45
05-07-2003, 06:10 PM
Both posts are saying the same thing solid... :)
-sage-
ronaldb66
05-08-2003, 08:41 AM
Great HTML and CSS tutorials can be found at W3Schools (http://www.w3schools.com/) (I really need to start negotiating a commision with these guys...); and there are still a lot of people who have set there monitors at 800x600 resolution for whatever reason (like impaired vision); it would be nice if your layout fits those as well.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.