Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
How to get WebDropDown ListItem without blue font and underline
posted

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.

Parents
  • 24671
    Verified Answer
    posted

    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

    {

    color: #000000;

    text-decoration: none;

    }

     

    I think AppStylist doesn't reflect that in the generated CSS. 

    Thanks,

    Angel 

Reply Children
No Data