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!
Help with class styles
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
decca1o



Joined: 18 May 2007
Posts: 12

PostPosted: Sun Apr 27, 2008 12:16 pm     Help with class styles Reply with quote

Hey,

I am trying have a few links on a page appear not underlined and change colors when hovered. The class name is .ins

Please see my css code below. Oddly the hover code works, but the links are still shown underlined.

Thanks for your help.


Code:
.ins a:link {
   color:white;
   font-weight: bold;
   
}

.ins a:hover {
   color: #FF8C00;
   text-decoration: none;
   
}
Corey Bryant
Site Admin


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

PostPosted: Sun Apr 27, 2008 1:29 pm     Reply with quote



Are they "visited"?

_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog
sticks464



Joined: 31 Dec 2006
Posts: 1179

PostPosted: Sun Apr 27, 2008 2:39 pm     Reply with quote

Give this a try

a:link, a:visited {
color:white;
font-weight: bold;
}

a:hover {
color: #FF8C00;
text-decoration: none;
}

Generally links on a page (not a menu) do not need a class unless you are doing something specific or special.
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