Possible posting a few more lines of code?I preffer to use a button. Adjust the width as needed */.container { position: relative; width: 50%;} /* Make the image responsive */.container img { width: 100%; height: auto;} /* Style the button and place it in the middle of the container/image */.container .btn { … I am really rusty, but is hiding the text by offsetting it by a few thousand pixels still the accepted workaround? Stack Overflow works best with JavaScript enabled I updated the question a little - maybe it can help you understand it bette. While using this site, you agree to have read and accepted our Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. site design / logo © 2020 Stack Exchange Inc; user contributions licensed under T he name setting adds an internal name to the image button so the program that handles the form doesn't confuse it with the other fields. thanksDon't forget that both the starting end ending tags are required for the button element, so technically .thanks for the good answer!! If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail: /* Container needed to position the button. This places an image button within the HTML form, which can be referenced by using its name "imgbtn" with a Alt text "Tool Tip". Tab order of the image. Below it, I need text. W3Schools is optimized for learning, testing, and training. @AmitHagin I saw your update.

Remember a button has borders, which are included in the calculation of its height. So to fit a @AmitHagin Also, to prevent whitespace issues, change your Are there any concerns about accessiblity/alt text with this method? JavaScript can be implemented in element too.Buttons don't directly support images. Tip: You can easily style buttons with CSS! Tip: Always specify the type attribute for a