Home html Button Type = "Button" Replacement on the picture

Button Type = “Button” Replacement on the picture




Simply put – there is a standard button – Button Type = “Button” to be replaced with a picture. At first I thought that it was not difficult, now …) Tell me, please, a way to solve the problem.

Answer 1, Authority 100%

There is & lt; Button & gt; , you can use & lt ; img ... / & gt; , for example:

& lt; button type = "button" & gt; & lt; img ... / & gt; & lt; / button & gt;

So there is a & lt; Input Type = "Image" src = "..." / & gt;

Answer 2, Authority 25%

And so does not work?

input [type = "button"] {background: url (here Ill images) top left no-repeat;}

Here the belter painted!

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions