Hi,
I am trying to understand the relationship between defining the stylesheet styles and using them. For example, in the ibuyspy sample application, the following styles are defined in portal.css file:
A.OtherTabs:link
A.OtherTabs:visited
A.OtherTabs:active
A.OtherTabs:hover
From the theory sections, all I can understand is that 'A' is the Element and 'OtherTabs' is the Class. When this style is being used in the code, only the Element is referred to. E.g.
<a href='...' class="OtherTabs">...
Questions are:
1. What is the bit after the colon? Is there a list of valid values for the bit after the colon?
2. When the styles are being referenced, the bit after the colon is not specified. At runtime, is the bit after the colon used at all? If so, how is it mapped?
Thanks in advance,
Vivek