Sam Granger wrote:
Quote:
I want to make a link, so that when you go over it with your mouse,
it gets a coloured backround box and the link itself changes to a
different clolour. To see what I mean, go to
forums.invisionpower.com and hover your mouse on the Help, Search,
Members, Calendar, and the Live Chat links.
What code should I put in my html? |
Not into the HTML. Into the CSS. Here is an example that I use:
a:hover { color: #FF0000; background: #FFEEEE; }
It makes hovered links use bright red text & a pink background. Here is a page
that uses this:
http://www.barry.pearson.name/articles_papers.htm
There are many variations on this, using images, etc. You have more options
than you can use! I'm sure that others here will help you out.
--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/