Jump to content

css buttons


toothmkr57

Recommended Posts

You should use the HTML <button> tag, like this:

 

<button type="button"><img src="buttonpicture.png" alt="button..." /></button>

 

You can also apply a background using CSS:

 

<input type="button" class="image">

input.image
  {
    background: #fff url(image.php) 50% 50% no-repeat;
  {

Link to comment
https://forums.phpfreaks.com/topic/130979-css-buttons/#findComment-679939
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.