Seeting image for a button

  • Thread starter Thread starter Jimmy
  • Start date Start date
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
 
In dotnet there is already a webcontrol call imagebutton.
which you can use for this purpose.
it works exactly like button with images.
aRvind.
 
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,
 
Back
Top