Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi, How do I set TabDefaultStyle in an external css file?
<iewc:TabStrip runat="server" TargetID="MultiPage1" SelectedIndex="0"
    TabDefaultStyle="
        color: white; background-color:rgb(68, 68, 68);border:none;
        font-weight: bold;font-family: Arial;font-size: 16px;
        height: 21px;width: 75px;
        text-align: center;"
    TabSelectedStyle="
        color: rgb(210, 171, 103);background-color: rgb(68, 68, 68);
        border:none;border-top-color: rgb(210, 171, 103);border-top-width : 2px;border-top-style: solid;"
>


What I have tried:

I'm a beginner in CSS, please help!
Posted
Updated 14-Sep-21 21:47pm

1 solution

That will depend entirely on the control you're using.

Assuming it's this one:
TabStrip Class | Microsoft Docs[^]
the documentation shows that there are no properties to set a CSS class for the tabs, so you're stuck using inline styles.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900