Go Back   CP Web Hosting - reseller hosting > Browser Scripting, HTML, XML and Multimedia > CSS
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2007, 11:25 AM
Senior Member
 
Join Date: May 2007
Posts: 345
Default colors in hyperlinks?

I am using a div tag to put up some text, and there are a few hyperlinks there. I want to use different color in that div, how can I do it?

My css is
Code:
a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
color: #FF0000;
text-decoration: underline;
}
Reply With Quote
  #2 (permalink)  
Old 06-16-2007, 11:27 AM
Senior Member
 
Join Date: May 2007
Posts: 267
Default

Quote:
Originally Posted by mouse View Post
I am using a div tag to put up some text, and there are a few hyperlinks there. I want to use different color in that div, how can I do it?

My css is
Code:
a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
color: #FF0000;
text-decoration: underline;
}
try this
Code:
a {
 text-decoration: none;
 border-bottom: 1px solid red;
 color: Lime;
}
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:36 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0