hosted by liquidweb


Go Back   Web Hosting Talk : Other Forums : Web Hosting Lounge : What is the code to make a link change colors when the mouse is over it?
Reply

Web Hosting Lounge Forum for general conversation, share interests, have a laugh or discuss topics not related to the above or below forums.
Forum Jump

What is the code to make a link change colors when the mouse is over it?

Reply Post New Thread In Web Hosting Lounge Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-22-2003, 10:17 PM
l45tor l45tor is offline
Disabled
 
Join Date: Jan 2003
Posts: 50

What is the code to make a link change colors when the mouse is over it?


My links are black but I want them to change colors to like white or something when the mouse is brought over them.

Can anyone please help -- I need the code that when the mouse is over a link it allows u to make the link change colors

Any help will be greatly appreacited,
Lee Ruiz

stlmex1@yahoo.com

Also thanks to everyone who helped me in my DW question

Reply With Quote
Sponsored Links
  #2  
Old 02-22-2003, 10:44 PM
Lippy Lippy is offline
Web Hosting Master
 
Join Date: Nov 2002
Posts: 736
the proper code if you are using Style Sheets would be.

Code:
A:link { 
    color: #0000FF;text-decoration: underline 
       }


A:active {
    color: #0000FF;text-decoration: underline
         }


A:visited {
    color: #0000FF;text-decoration: underline
          }


A:hover {
    color: #0000FF;text-decoration: underline
        }
Changing the color codes to the ones you wish to use. Hope this helps.

__________________
LipWeb.Net
"Less Lip More Service"
Providing Quality Hosting at Fair Prices
AIM: LipWebNet MSN: daniel[at]lipweb.net [color=red]

Reply With Quote
  #3  
Old 02-22-2003, 10:54 PM
l45tor l45tor is offline
Disabled
 
Join Date: Jan 2003
Posts: 50
thanks

Thanks Lippy that helped out a lot

just two questions

I dont want the link to chang colors when they would go back to the site (like a visited link) I just want it to change colors when it is over the certain link or clicked -- so what would i use for that --

this--

A:link {
color: #0000FF;text-decoration: underline
}


A:hover {
color: #0000FF;text-decoration: underline

?????

Also I am doin this in DW - not sure what u mean style sheets -- so where should i place this - in the head section??

Thanks so much

Lee Ruiz
stlmex1@yahooo.com

Reply With Quote
Sponsored Links
  #4  
Old 02-22-2003, 11:42 PM
ATST ATST is offline
Web Hosting Master
 
Join Date: May 2002
Location: Michigan
Posts: 1,799
No. Copy the code lippy posted. Then do like he said, change the colors to what you want.
To not have a link change to a different color when it becomes visited, simply make 'visited' the same color as 'link'.

DW doesn't have style sheets?
Well anyway, yes, you place this in the head of the page.

__________________
DANG DANG! DANG!!™
I know ***** ripped off everybody else, but they wouldn't do it to me.
"When you use bottom feed for bait, you are only going to catch bottom feeders."
"You do what you are, and you are what you do."

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
DigiCert Launches Extended Validation Code Signing Certificates Web Hosting News 2012-08-15 15:30:28
Navigating Your Business Through Change with Elliot Noss - HostingCon 2012 Web Hosting News 2012-07-17 09:51:18
Cloud Expo 2012 East Web Hosting Events 2012-04-25 11:18:07
Web Host Webhostforasp.net Launches New Affiliate Program Web Hosting News 2012-01-16 14:31:12
NTT America Launches Global Virtual Link Web Hosting News 2011-07-27 20:34:43


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?