PDA

View Full Version : I did not know where to post this



ajfmrf
03-31-2012, 04:23 AM
So I settled here.

I was wondering how/what a person would need to do(if it is possible) ot make the buttons on this phone image

http://www.web-user.info/formimg/1a.jpg

To really work.As if you were to make a form and want to make the "reset","submit" and "back" buttons in place of the actual ones there.

Fist off,can that be done.Second how would you do it?Would css be the way?
thanks

jscheuer1
03-31-2012, 04:43 PM
Yes and yes.

However, though a form has default submit and reset buttons available for your use, it doesn't have a back button. If by that you mean move the page back to the previous page, you could make one:


<input type="button" value="Back" onclick="history.go(-1);">

It would then be a matter of styling the buttons. I think I would go for setting their value attributes empty, giving each one a background-image that looks like the button on the larger image that you are replacing. Set their width and height to the dimensions of that background image and their border-width to 0. Then absolutely position each one over its appropriate spot on the larger image.