Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: applying style to items

Posts: 1
Registered: 11/20/2008
Location: villanova, pa
Member Is Offline
posted on 11/20/2008 at 08:24 PM Reply With Quote
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;
View User's Profile View All Posts By User U2U Member

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 6/2/2009 at 07:52 PM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004