SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: CSS
-
Dec 23, 2000, 14:10 #1
- Join Date
- Nov 2000
- Location
- Chico, Ca
- Posts
- 1,125
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I am trying to figure out how to Change the color of a link when the mouse hovers it. Anyone have any idea's ? I would like it to be like the sitepoint links .. except without the line .. I have the without line part .. now I just need to get the colors to change.
Thanks
Chuck
-
Dec 23, 2000, 16:48 #2
- Join Date
- Dec 2000
- Posts
- 12
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi Chucki !
There is a fast way - but it only will function in Microsofts Explorer.
Add a a:hover style to your style definition.
like this :
a {color:red}
a:hover {color:blue}
In Netscape Navigator you have to write Event-Handlers. This works in the same way as if you wanted to use *highlight graphics*...
-
Dec 23, 2000, 17:54 #3
- Join Date
- Feb 2000
- Location
- Miches, DR.
- Posts
- 90
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hello Chucki.
The new NS Browser also supports CSS mouseover effects too.
Just a little note on the side!
-
Dec 24, 2000, 01:22 #4
- Join Date
- Jul 2000
- Location
- Singapore
- Posts
- 2,103
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi,
A more efficient way would be:
a { font-family: Verdana, Arial; font-size: 10pt; }
a:hover { color: #000000; }
a:link { color: #A80000; }
a:vlink { color: #FFFFFF; }
You could also set text-decorations: underline; etc."Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
-- Albert Einstein
-
Dec 24, 2000, 02:24 #5
- Join Date
- Jul 2000
- Location
- 80,000 feet below the surface
- Posts
- 1,442
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Here's another useful article on CSS by Matt Mickiewicz :
http://www.webmasterbase.com/article.php?aid=43&pid=0
Bookmarks