Hello,
I imported the 2009.2 AppStylelist for Office2007Blue. Now my WebDropDown listItems always render with blue font color and underline. I want black font with no underline. Using the NetAdvantage AppStyleList for ASP.NET program, I have set every single WebDropDown UI role to:
color:Black;text-decoration:none;
yet the listItems still render blue, underlined. I also tried changing the styles in "ig_dropDown.css". Setting .igdd_Office2007BlueListItem "font-size: 12pt;" works, but setting .igdd_Office2007BlueListItem"text-decoration:none;" does not. ig_dropDown.css also has styles like
.igdd_Office2007BlueListItem a link{ color:Black; text-decoration:none;}
but they do not seem to be working.
Does anyone know how to remove the blue, underlined styling for the ListItems?
Thanks.
Thanks Angel. I like your solution better.
-Greg
Hi,
As a workaround you can set EnableRenderingAnchors=False. The actual issue is that anchors are styled with selectors, like this:
.igdd_Office2007BlueListItem a:link
{
color: #000000;
text-decoration: none;
}
.igdd_Office2007BlueListItem a:visited
I think AppStylist doesn't reflect that in the generated CSS.
Thanks,
Angel
I found a solution. The items are rendered as links within the listitems, but the ig_dropDown.css file had no specific class for that case, so it was using default <a> styling. I added:
.igdd_Office2007BlueListItem a{ color:Black; text-decoration:none;}
to the css file and it is now rendering without the blue underline.