PDA

View Full Version : Icon instead of text for field label



Eric24
28 Jan 2011, 1:06 PM
I'm sure there must be a trivial solution to this, but I couldn't find any mention of it in the forums and the first couple of things I tried were less than functional (various alignment problems, especially differences cross-browser).

Is there a simple way to use an icon instead of the label text (i.e. no text, just an icon) for a field label?

valititi
28 Jan 2011, 3:15 PM
1. you have the labelStyle attribute ! is css. define this to having an image background...
2. or fieldLabel:"<img src=yourimg.gif>"
but, you know, normally, fieldLabel is maded for... Labels ! Not for images...