How to create css image on button save?

Asked By 90 points N/A Posted on -

Hi to everyone,

How to create CSS image on button save?

I am not familiar with CSS codes but I have to start familiarizing CSS for it is very helpful and connected with html and PHP programming languages.

I need some video tutorial that you think can really help me along the process.

Thank you.


Answered By 0 points N/A #164975

How to create css image on button save?


Hello Janet,

You can add an image to your save button using the following codes.

HTML code:

<input type="button" name="submit" value="Save" title="Save" class="saveButton" onclick="window.location='/save.php' " /> 

CSS code:

input.saveButton {

 background: url("Your image url") no-repeat 0 0;

 cursor: poiner;

 border: 0;

 text-align: center;


HTML code will add a button to your form. Buy setting a background using CSS will add an image to your save button. Hope this is clear to you.

This is a video which will help you to understand this: 

Login/Register to Answer

Related Questions