cdeneen
Newbie
Posts: 1
Registered: 11/20/2008
Location: villanova, pa
Member Is Offline
|
| posted on 11/20/2008 at 08:24 PM |
|
|
applying style to items
I'm trying to apply a style to a menu item. I'm setting the class in the xml for the item tag as follows:
<item class="inactive"><icon state="0">img/empty.gif</icon><a href="#">Age Spots (0)</a></item>
I added the class to the css file, but it's not taking. I'm not sure if I have the attribute set correctly, since the item is not a traditional html
element... what should I be using? I tried:
.treeClass td.treeTextTD a.inactive {
color: red;
font-size: 10px;
font-family: Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
margin-left: 0px;
}
|
|
|
tigra
Administrator
Posts: 2043
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 6/2/2009 at 07:52 PM |
|
|
try using the document inspector (like Firebug Plugin in Firefox) to see if css class is applied to the element, what is the location of the element
in your document and what CSS settings are at play.
|
|
|
|