Jump to content

How to change button style/image?


Chrisj

Recommended Posts

I'd like to improve the appearance of three buttons on an html page. I believe this is the code:

 

<input type="submit" name="purchase" value="Use Remaining Credits" style="margin:7px 0" style="padding:1px 2px 1px 2px" rel="gb_page_center[600, 635] ">
<input type="button" name="search" value="Get New Credits" onclick="window.location.href='newcredits.php';" style="margin:7px 0" style="padding:1px 2px 1px 2px">
<input type="button" name="search" value="Search Again Now" onclick="window.location.href='page.php??page=12';" style="margin:7px 0" style="padding:1px 2px 1px 2px">

 

How can I add more attractive buttons, which would include the text "Use Remaining Credits", etc.? Can you give me a code example?

Thanks

Link to comment
Share on other sites

It depends on how that purchase button works. It might be that using an image instead would require changing server-side code, which (no offense) you probably couldn't do. But it might be that somebody else could make those changes, so I dunno.

 

Basically, drop the padding, change the type to "image", and specify a src for the image.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.