home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 2778
Discussions: 188,384, Posts: 2,243,508, Members: 232,615
Old February 9th, 2003, 04:59 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Jan 2003
Location: England
Posts: 165
How do i do that cool thing with stylesheets where...

the links change color and stuff while you hover over them?

... like on this site theyre all blue then change to red.

~Fade2Grey
__________________
~Fade2Grey

Fade2Grey is offline   Reply With Quote
Old February 9th, 2003, 07:33 PM     #2 (permalink)
Member
 
tenor_david's Avatar
 
Join Date: Nov 2001
Location: Bloomington IN
Posts: 219
Use either an embedded or external cascading style sheet. Here is an example of an embedded style sheet [insert into head section.]

<style type="text/css">
<!--
a:link {text-decoration: none; }
a:visited {text-decoration: none; }
a:active {text-decoration: none; }
a:hover {color: #800000; text-decoration: underline; background: #008000; }
-->
</style>

a:link is the 'normal, unvisited' state.
a:visited is a link that has been followed b4
a:hover is obvious
a:active is when you press the left mouse button while hovering over a link.

tenor_david is offline   Reply With Quote
Old February 9th, 2003, 07:43 PM     #3 (permalink)
Member
 
Join Date: Jan 2003
Location: England
Posts: 165
thanks so much, it works just how i wanted

Fade2Grey is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Most Active Discussions
Is It Just Me? (2896)
CPU wont boot (6)
3-days in and no threads about Gaza (160)
The United States Debt (20)
I think I just killed my computer w.. (24)
hp compaq nc6000 problems (139)
Upgrading RAM (5)
Folderchat Weekday thread (442)
Antec 300 bulk purchase? (11)
Recent Discussions
CPU wont boot (6)
GLaDOS is up. (3)
HP notebook reinstall Vista NO .. (5)
Building a gaming computer advi.. (4)
hp compaq nc6000 problems (139)
Folderchat Weekday thread (442)
Creative T-3000 Subwoofer (3)
ACPI controller halt on boot (2)
Worth the upgrade?? (15)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 10:32 PM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28