DHTMLX Docs & Samples Explorer

### Custom styles

Source

    <link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxtabbar.css">
    <script  src="../../codebase/dhtmlxcommon.js"></script>
    <script  src="../../codebase/dhtmlxtabbar.js"></script>

    <table width="500px">
        <tr>
            <td>
                <div id="a_tabbar" style="width:100%; height:50px;"/>
            </td> </tr>
    </table>
    <script>tabbar = new dhtmlXTabBar("a_tabbar", "top");
    tabbar.setSkin('dhx_skyblue');
    tabbar.setImagePath("../../codebase/imgs/");
    tabbar.setCustomStyle("b1", "black", "red", "font-weight:bold !important;");
    tabbar.loadXML("../common/config.xml", function() {
        tabbar.setCustomStyle("b2", "green", "red", "font-style:italic;");
        tabbar.setCustomStyle("b3", "blue", "red", "text-decoration:underline;");
    });</script>