Web Hosting Talk







View Full Version : Want some help


Tlc
09-21-2005, 10:11 AM
I need some help identifying how to do the link colour change on hover over links like in these to examples

http://www.prodefence.co.uk/
http://www.selimabus.co.uk/


Can someone please explain to me how this has been done and if it uses a script etc?

and maybe point me to some good online tutorials?


many Thanks

bear
09-21-2005, 11:07 AM
The first one is done with CSS (cascading Style Sheets). Here's the link to the style sheet:
http://www.prodefence.co.uk/styles/screen.css
The specific declaration that appears to be changing the color is this one:
#nav a:hover{
background-color: #98A57A;
}

It's called in their code here:
<div id="nav">

Do a Google search for CSS?

cyberbjorne
09-21-2005, 12:25 PM
you can go to w3.org
its realy a nice place to learn CSS and HTML

Flasher
09-21-2005, 01:31 PM
Also, you can use Macromedie DreamWaver to get such CSS effects without learning any coding. DreamWaver is a perfect tool for CSS effects!