+ 2
How can we create submit button with an image?
html
3 odpowiedzi
+ 2
No doubts ( but not tested ) just by styling it with a CSS background-image property... ( you probably need to redesign it completly to have a button look with ridges bordes, if you want it -- and applicate this custom style to all your button, because of the inconsistence of the look of button between all the browsers )
+ 2
can it be done just by using HTML?
+ 2
I don't think... ( EDIT: because submit button are very specialized button -- else you can build standard image button just in HTML )
You can use JS and avoid CSS, but widely better to use CSS and avoid JS: CSS is totally part of HTML ( try to design a page without any css rules, you'll be disappointed ), in regards of JS which is not always supported/activated...