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
365
Remove web tabs default css
posted

Is there a better way to remove the defaulted css classes than using jquery removeClass?

            $('.igtab_THTab').removeClass('igtab_THTab');
            $('.igtab_THTail').removeClass('igtab_THTail');
            $('.igtab_THCenter').removeClass('igtab_THCenter');

These are the only styles that I want to use on a particular page.

<style>
        .THClass
        {
            width: auto;
            color: blue;
            font-family: Arial Narrow;
            font-weight: bold;
            font-size: x-small;
            margin-top: 0px;
            margin-right: 5px;
            margin-bottom: 20px;
            margin-left: 0px;
            cursor: hand;
        }
        .THClassActive
        {
            background-color: #FFE7B5;
        }
        .THClassHover
        {
            cursor: hand;
            color: #C00000;
        }
        .HHClass
        {
            background-color: #FCF2DC;
        }
    </style>

 <TabItemCssClasses CssClass="THClass" SelectedCssClass="THClassActive" HoverCssClass="THClassHover" />
        <CssClasses HeaderHolderCssClass="HHClass" />

Parents
No Data
Reply
  • 37874
    Verified Answer
    posted

    Hi dan2012a,

    Your approach is fine. You could also check the ig_res/Default/ig_webtab.css stylesheet and modify or remove existing classes that you don't need.

    Feel free to contact me if you have any other questions.

Children