style sheet

2 posts, 0 answers
  1. appdev
    appdev avatar
    223 posts
    Member since:
    Sep 2008

    Posted 07 Jul 2009 Link to this post

    i'm trying to apply css class to tabstrip but it didn't do anything
    i got a form decorate skin set to forest,  and tabstrip set to forest. as default it set background color of tab to green and forecolor to black. i want to change the text to white so i tried
    <style type="text/css">
        .SelectedTab
        {
            color:#ffffff;
        }
    </style>

    and then at the telerikpanelitem i apply cssselectedtab to that but it didnt work at all. can you tell me why.i also found css file in telerik folder in program file and included that in the project but that didn't work either can you tell me what i need to do ? thank you.
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 10 Jul 2009 Link to this post

    Hi Duy,

    You can try applying the !important modifier so the color setting overrides the one from the skin:
    <style type="text/css">
        .SelectedTab
        {
            color:#ffffff !important;
        }
    </style>


    All the best,
    Albert
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top