Seeting image for a button

J

Jimmy

I have designed a web application with buttons. Is it possible to set image
for a button. So that instead of plain button user will see an image and
makes the GUI as impressive one.
Thanks
Jim
 
A

Arvind P Rangan

In dotnet there is already a webcontrol call imagebutton.
which you can use for this purpose.
it works exactly like button with images.
aRvind.
 
T

Tommy

Definitely.

Create a css class as follow:

..Button
{
background-image:url(MyImage.gif);
background-color:Transparent;
border-style:none;
}

Then set your button to use this css class.
You can do a lot more with additional css class settings.

Tommy,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top