HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Creating links with underline
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
super_kevv



Joined: 14 Feb 2006
Posts: 3

PostPosted: Wed Feb 15, 2006 12:45 am     Creating links with underline Reply with quote

This is probably really simple, but how do you create a link without having a line come underneath it?

Also, I want to make the e-mail link change colour when someone scrolls on top of it. How is this done?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8316
Location: Castle Pines North, CO USA

PostPosted: Wed Feb 15, 2006 4:32 am     Reply with quote



Check out No Underline Please! he code goes into the <head> of your HTML document
Code:
<style type="text/css">
a:link
{
   color: #FF0000;
   text-decoration: none;
}     
a:visited
{
   color: #00FF00;
   text-decoration: none;
}
a:hover
{
   color: #FF00FF;
   text-decoration: none;
}
 
a:active
{
   color: #0000FF;
   text-decoration: none;
}
</style>
As far as changing color, that would be the hover

_________________
Corey
Loud Commerce | LoudHost | Toll Free Solutions
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial