Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 464367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:16:05+00:00 2026-05-12T23:16:05+00:00

A form button has a 170×60 image for the non-pressed and pressed states. What

  • 0

A form button has a 170×60 image for the non-pressed and pressed states. What I can’t seem to do is get There to be text in the button. I really want to avoid having to edit the image and write text to it directly. Right now I’m using:

<input type="image" src="img/button_normal.png"
 width="175" height="60" onmousedown="this.src='img/button_pressed2.png'"
 onmouseup="this.src='img/button_normal.png'"> 

I figured that it is impossible to make this work with text on top of it (as far as I have tried). So then I tried using <button> but I couldn’t get it to work either.

I have been able to put text over the image above, but where the text is, the button is unclickable, which doesn’t work.

What is a solution to this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T23:16:05+00:00Added an answer on May 12, 2026 at 11:16 pm

    So why not just edit the background image on a regular button?

    <script type="text/javascript" src="picker/js/jquery.js"></script>
    <!-- some time later -->
    <input type="button" src="img/button_normal.png" 
    width="175" height="60" value="Some Text"
    onmousedown="$(this).css({'background-image': 'img/button_pressed2.png'});" 
    onmouseup="$(this).css({'background-image': 'img/button_normal.png'});"> 
    

    That should give you the ability to put an image into a button with some text overlaid.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a button for my form which has an image background
Suppose if my form has button and label and Button1 has Text Property’s Text
i am building a form when a button is pressed. When the button has
is it possible to stop the submission of a form,after submit button has been
This form has a NotifyIcon object. When the user clicks on the Close button,
HTML has an input button type to reset all fields in a form to
I have a form on the ipad which has many textfield and a button
I'm working on a long form that has several radio button groups. At the
I have a form that has 90 buttons on it, one button for each
I have a form, this form has a submit and a cancel button. when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.