Hi Zak,
Thanks for that.
But i was planning to have uniform style for all the buttons. I have some
15-20 different kinds of buttons. I dint want to write a separate CSS for
each of them. I just realized that using HTML would be a really convenient
way of implementing the icons for buttons. An
The CSS for the background declaration is invalid. Also there's no
need for tabs and carriage returns. Try this:
button.setHTML(" Home ");
The best practices solution, however, is to have an external
stylesheet with styling rules defined:
.cool-button {
background: transparent url(home.gif) n
I got some really cool styles with HTML tags and so thought of sticking on
to it. Any idea why the image which I set on the button using HTML did not
appear in Firefox?
regards,
Abhiram
On Thu, Sep 24, 2009 at 4:55 PM, Venkatesh Babu wrote:
> Try setting the style using a css class rather than t
Try setting the style using a css class rather than the "style" attribute,
in the way specified in your code. If you don't have a css file, you can
just create the css class within your html file.
Hope this helps.
-Venkatesh
On Thu, Sep 24, 2009 at 2:08 AM, abhiram wrote:
>
> Hi all,
>
> I
Hi all,
I used the setHTML property for the Button to get some really nice
styles for the buttons in my application. This works perfectly in IE
but does not seem to work in Mozilla and Chrome. In Mozilla and Chrome
I dont see the images on the button which are visible on IE.
My sample code i