Reputation: 1552
I have a tab panel where i have used "ajax__tab_xp" default css class.BUt i want to set the background color with the existing css class.
My code:
<asp:TabContainer ID="TabContainer2" runat="server" Height="258px" Width="100%" ActiveTabIndex="0" TabStripPlacement="Top" CssClass="ajax__tab_xp" useverticalstripplacement="true" verticalstripwidth="100px">
.ajax__tab_xp .ajax__tab_body {font-family:verdana,tahoma,helvetica;font-size:10pt;border:1px solid #999999;border-top:0;padding:8px;background-color:#ffffff;}
I have almost tried every possibilities but it is not working.
Upvotes: 1
Views: 1397
Reputation: 3473
apply !important to property like:
.ajax__tab_xp .ajax__tab_body {font-family:verdana,tahoma,helvetica;font-size:10pt;border:1px solid #999999;border-top:0;padding:8px;background-color:#ffffff !important;}
Upvotes: 2