11 months ago
Hi Markus,
Try the CSS:
.tabs li a:nth-child(2) {background-color:#FF0000;}
.tabs li a:nth-child(3) {background-color:#336699;}
....
Above is not supported by IE 8 and earlier.
If you also want to support the IE 8 and earlier, you have to give each tab another
class and define the background for each of those classes:
HTML:<a href="#" rel="view1" class="tab1"> ...</a>
<a href="#" rel="view1" class="tab2"> ...</a>
<a href="#" rel="view1" class="tab3"> ...</a>
CSS:.tabs li a.tab1 {background-color:#FF0000;}
.tabs li a.tab2 {background-color:#FF0000;}
...
Please try if that helps.