Removing Inherited Color in CSS

This is a discussion on "Removing Inherited Color in CSS" within the Web Page Design section. This forum, and the thread "Removing Inherited Color in CSS are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 28th, 2008, 11:45
New Member
Join Date: Mar 2008
Location: Malaysia
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Removing Inherited Color in CSS

Hi,

I having problem about my css style its override the color at my sidebar item,
im using this:

Code: Select all
a:link {
    color: #F4FFDD;
    text-decoration: none;
    }
a:visited {
    color: #2f63b3;
    text-decoration: none;
    }
a:hover {
    color: #C6F171;
    text-decoration: none;
    }
a:active {
    color: #2f63b3;
    text-decoration: none;
    }
now this style has been override my css styles at my sidebar because I'm use image as links at the sidebar.
you can view the site here:
http://dev.myraffaell.com/

How to get rid of it ??

Just wondering I create this style to the link style like this:
Code: Select all
    .Affiliate a:link,
    .Affiliate a:visited,
    .Affiliate a:hover,
    .Affiliate a:active {
        color: #719EF1;
        }
with this im trying to replace the color: with the background color....But its seems IE not friendly enough about it...

Is there any solution to get rid the color: things ??

Thanks..
Reply With Quote

  #2 (permalink)  
Old May 21st, 2008, 10:53
Junior Member
Join Date: Jan 2008
Location: The other side of your monitor
Age: 19
Posts: 29
Blog Entries: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Removing Inherited Color in CSS

Have you tried placing the class in a div?
Last Blog Entry: Damn computer of mine.. (Jul 7th, 2008)
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing objects in an array breepupetstofight ASP.NET Forum 0 Sep 17th, 2007 13:00
help on removing element using yui shotokan99 JavaScript Forum 1 Aug 31st, 2007 13:42
Removing + from PHP GET sanctumsolitude PHP Forum 1 Jun 23rd, 2007 02:49
Some properties are inherited begemot Web Page Design 3 May 19th, 2007 18:37
removing whitespace dudester123 Web Page Design 3 Sep 1st, 2006 14:23


All times are GMT. The time now is 22:14.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43