WebDesignChat
 
Partners
Web Design Resources
Web Designers Directory
Html Help
WPDFD
Tip Tricks
Page Resource
Design Companies
Website Design
Ceonex Web Design
LevelTen Design
Web Designing
Resources
Web Hosting Reviews
Free Design Stuff
Free Fonts
Free Graphics
Stylesheet Editor
Web Editor
Form Mail Script
Free Search Engine Submission
Photoshop Tutorials
Advertise Here
Welcome to WebDesignChat.org. Web Design chat is a one stop place to chat about all the latest happenings going in web design field. Here you can increase your knowledge as well as help others to grow their knowledge on Web Designing.


Go Back   Web Design Forum > Web Design & Development > Showcase
User Name
Password
Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-05-2008, 06:15 PM
cassieblue cassieblue is offline
Junior Member
 
Join Date: Oct 2008
Posts: 5
Default How to change link color in div?

How do you change the link color in one specific div and another color in antother div ?

Thanks !
__________________
Custom Web Design Company
Reply With Quote
Sponsored Links
  #2  
Old 11-21-2008, 07:35 PM
nobunaga nobunaga is offline
Junior Member
 
Join Date: Nov 2008
Posts: 4
Default Use CSS

Use CSS rules designed specifically for the link in question.

You could have a rule such as .content div a:link { color:#990000;} to control all active links in divs contained in an area assigned with the content class.

Or create a class like .redlink a:link { color:#990000; }
Then apply the class to the div. Obviously you can add other attributes to the rule if need be.

I guess if you were using tables with divs inside you could add the a:link color rule to the table, but to be specific to a div I think you will have to use CSS.

Hopefully I didn't miss anything or misunderstand the question.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump




All times are GMT. The time now is 12:05 PM.
Powered by: vBulletin Version 3.0.3

Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.