Hi,
I want to use an external css file with the tab control.
I have the following styles defined in the css file, for testing purposes:
Code: CSS
.TabSelected
{
background-color:Orange;
font-weight: bold; color:Green;
}
.TabNormal
{
background-color:Gray;
color:Red;
}
And I have the following markup inside the tab control:
Code: HTML/ASPX
<LookItems>
<eo:TabItem Height="21" ItemID="_Default"
NormalStyle-CssClass="TabNormal"
SelectedStyle-CssClass="TabSelected"
LookItems>
However, this doesn't do what I'm expecting. Specifically, the background-color property changes the colour of the tab's border, not its background, and the color property seems to have no effect on the colour of the text in the tab header.
I've looked through the documentation and samples but can't find anything on NormalStyle-CssClass or SelectedStyle-CssClass.
1) Can you please tell me what I'm doing wrong here?
2) Why is it necessary to specify a CssFile property for the tab control? Can't it simply use whatever stylesheet has been added to the page header...?
Thanks.