Sample: dhtmlxTabbar Custom colors dhtmlxTabbar main page
X

You can set background color for active and other tabs using setSkinColors method


 
<div id="b_tabbar" style="width:400;height:100"></div>
<script>
 
    tabbar2=new dhtmlXTabBar("b_tabbar","top");
    tabbar2.setImagePath("../../imgs/");
    tabbar2.loadXML("tabs1.xml");
    tabbar2.setSkinColors("#FFFF00","#FFFACD");
</script>