StyleSheet setting for Tab

Hi,

The follwoing code doesn’t change anything:

tab
{
	background-color: red;
}

I would expect either the tabs that do not have focus OR the area next to the tabs (the area for aditional tabs) to go red. But nothing happens instead. nothing goes red.

If I do:

tabpanel
{
	background-color: red;
}

both the tabs without focus and the area for additional tabs go red.

Is that expected behavior, or…

Paul

pbakker:
I would expect either the tabs that do not have focus OR the area next to the tabs (the area for aditional tabs) to go red. But nothing happens instead. nothing goes red.

Coloring individual tabs is not supported by the Java LAFs

What is

tab 
{ 
   background-color: red; 
}

supposed to do then?

“tab” is not supported, as “sky” is not :D

:D since it was in the documentation, I thought it would… but who am I to read documentation anyway… :P

Paul

oh really?, that must be an mistake…

What’s the mistake? That I read the docs? :P

I found it in the Stylesheet appendix