hockey97
February 21st, 2009, 08:38 PM
Hi, I need to make some modification to someones code.
Currently they have all the classes set.
In the tabs of the website. I need to make it the font color different for just one text.
The class already sets all fonts to one color.
Is there a way I can over ride the first text color set for the tabs?
I tried making the tab green with using <a class="2nd color"> Service tab</a>
The first color is set to blue.
but I want to make changes to just this one tab. I just want to know if there is a way I can just add some code to make just that tab to be a different color without doing major changes.
Cause the font type and other definitions are set with these tabs and I don't want to change any that code I still want those setting to be applied to this one tab but just I don't want the default color to be set for this font.
here is the css code:
.tabs ul li a {
height:34px;
padding:19px 30px 0;
display:inline-block;
text-decoration:none;
text-transform:uppercase;
color:#6d96cd;
font-size:1.5em;
}
and here is the html code:
The class is called tabs but it has css code for the tags inside the div. Like tags ul and li and a
the a tags are the ones that Shows the Texts.
Can I override the default tag a settings by adding a.font_color_2
then just change the color to green.
I just want to change one text to a different color then the default settings in css.
Currently they have all the classes set.
In the tabs of the website. I need to make it the font color different for just one text.
The class already sets all fonts to one color.
Is there a way I can over ride the first text color set for the tabs?
I tried making the tab green with using <a class="2nd color"> Service tab</a>
The first color is set to blue.
but I want to make changes to just this one tab. I just want to know if there is a way I can just add some code to make just that tab to be a different color without doing major changes.
Cause the font type and other definitions are set with these tabs and I don't want to change any that code I still want those setting to be applied to this one tab but just I don't want the default color to be set for this font.
here is the css code:
.tabs ul li a {
height:34px;
padding:19px 30px 0;
display:inline-block;
text-decoration:none;
text-transform:uppercase;
color:#6d96cd;
font-size:1.5em;
}
and here is the html code:
The class is called tabs but it has css code for the tags inside the div. Like tags ul and li and a
the a tags are the ones that Shows the Texts.
Can I override the default tag a settings by adding a.font_color_2
then just change the color to green.
I just want to change one text to a different color then the default settings in css.