WHat you need to do is create a style such as the following:
Code:
.dg_item A{
color: black;
}
You assign dg_item as the cssclass of the column. Because the A tag is after the class name it tells it to apply it to A tags that are held within an html block that has that css class set.
Nice one James, I never knew that - Thanks!
Is it possible to put the other (none A items) within the cssclass?
So I have
<AlternatingItemStyle Cssclass="dg_item">
This takes care of the hyperlink, but can I put the backcolor for instance within this CssClass?
or must I just declare that within the <alternatingitemstyle> tag
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.