ThatRickGuy
Programmer
Hi Guys,
I am toying with a third party app that I don't have a lot of access to, but I'm trying to adjust the CSS to improve the look/feel of my site.
I can create CSS for the site, but some elements point to classes that I do not have access to change. Specifically, there are blocks that are enclosed in a DIV that is has it's style assigned to a specific class. What I want to do is change the color/decoration of all of the links inside the DIV, with out having to explicitly set the style of each Anchor.
Is it possible to set CSS for anchors for a given class, and will each of the anchors in that DIV use that CSS class with out being explicitly directed to?
Is there some syntax that would allow me to do something like:
and then in my HTML have:
And have the word "Test" show up as red on a black background?
Thanks,
-Rick
VB.Net Forum forum796 forum855 ASP.NET Forum
I believe in killer coding ninja monkeys.
I am toying with a third party app that I don't have a lot of access to, but I'm trying to adjust the CSS to improve the look/feel of my site.
I can create CSS for the site, but some elements point to classes that I do not have access to change. Specifically, there are blocks that are enclosed in a DIV that is has it's style assigned to a specific class. What I want to do is change the color/decoration of all of the links inside the DIV, with out having to explicitly set the style of each Anchor.
Is it possible to set CSS for anchors for a given class, and will each of the anchors in that DIV use that CSS class with out being explicitly directed to?
Is there some syntax that would allow me to do something like:
Code:
.MessageBodyCell1
{
BACKGROUND-COLOR: #000000;
}
.MessageBodyCell1.A:link
{
COLOR: #FF0000;
}
and then in my HTML have:
Code:
<div class="MessageBodyCell1">
<a href="...">Test</a>
</div>
And have the word "Test" show up as red on a black background?
Thanks,
-Rick
VB.Net Forum forum796 forum855 ASP.NET Forum
I believe in killer coding ninja monkeys.