Home >Web Front-end >HTML Tutorial >input button sumbit_html/css_WEB-ITnose

input button sumbit_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:23:451014browse


My buttons are input button sumbit, and I can submit the form through these buttons.

It doesn’t look good. I think web pages are usually replaced by pictures. How can I achieve this?









Reply to discussion (solution)

Give picture Add a click event and try to submit the form after clicking

Add a click event to the image and try to submit the form after clicking

I checked online and added css style, which is more standardized

.btn{	width:145px;	height:34px;	line-height:22px;	font-size:22px;	background:url("/images/button/bg2.jpg") no-repeat left top;	color:#959595;	padding-bottom:4px;}

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn