Home > Web Front-end > HTML Tutorial > Small problem with spacing between label and input in Google browsing_HTML/Xhtml_Web page production

Small problem with spacing between label and input in Google browsing_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:38:04
Original
2236 people have browsed it

先码后文

复制代码
代码如下:





无标题文档














谷歌打开效果如下

 

验证码的label和input之间的间距明显较上面两个大,将验证码代码的换行去掉,并为一行之后,三个input框就对齐了,原因还不晓得。

PS:img和input没有对齐以前的随笔记录过,只需要分别加个vertical-align:middle就行
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template