PDA

View Full Version : IconCls?



RKoopmans
29 Mar 2010, 2:45 AM
Hello,
I was wondering what and how I can use the IconCls for a menu..
I don't understand the property, can anyone explain?

Thanks :-)

Condor
29 Mar 2010, 3:06 AM
Use:

iconCls: 'my-icon'
with

.my-icon {background-image: url(path/to/my-icon.png) !important;}

RKoopmans
29 Mar 2010, 3:12 AM
Use:

iconCls: 'my-icon'
with

.my-icon {background-image: url(path/to/my-icon.png) !important;}
Thank you very much :-)
i think i did it correct but forgot to include my css file in which the class was :s:>