It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming CSS Forum

when the mouse is over a link...

when the mouse is over a link...

Postby Solar42693 on Thu Jul 13, 2006 12:57 am

How do you get th color of a link to change when you put your mouse over the link. Or underline the link.
User avatar
Solar42693
 
Posts: 35
Joined: Tue Jul 11, 2006 12:56 am

Postby ReFredzRate on Thu Jul 13, 2006 4:46 am

Below is the code you should put in your CSS file. You can alter the colors to match your site, the text-decoration underlines the text when you go over the link with your mouse.

Code: Select all
a:link {
          color: #000000;
          }

a:hover {
          color: #686868;
          text-decoration: underline;
          }


And welcome to DEVPPL! :)
ReFredzRate
1000+ Club
 

Postby Solar42693 on Fri Jul 14, 2006 12:24 am

i see now thanks
User avatar
Solar42693
 
Posts: 35
Joined: Tue Jul 11, 2006 12:56 am

Postby Solar42693 on Fri Jul 14, 2006 12:35 am

but is there a way to get it to work in firefox? the color works in firefox but not the underline. in internet explorer both works, does firefox just not support all css?
User avatar
Solar42693
 
Posts: 35
Joined: Tue Jul 11, 2006 12:56 am

Postby Solar42693 on Fri Jul 14, 2006 12:36 am

something else i noticed though, on devpple, like this forum, when you put your mouse over text it underlines, and it works in firefox
User avatar
Solar42693
 
Posts: 35
Joined: Tue Jul 11, 2006 12:56 am

Postby Solar42693 on Fri Jul 14, 2006 12:37 am

btw, is there a way to make the text smaller when the mouse hovers over a link? and thanks again
User avatar
Solar42693
 
Posts: 35
Joined: Tue Jul 11, 2006 12:56 am


Who is online

Users browsing this forum: No registered users and 0 guests