Home  >  Article  >  Web Front-end  >  表单checkbox和radio文字对齐的代码_HTML/Xhtml_网页制作

表单checkbox和radio文字对齐的代码_HTML/Xhtml_网页制作

WBOY
WBOYOriginal
2016-05-16 16:41:091736browse

像type="radio" and type="checkbox"的对齐问题,测试浏览器:ie7+/firefox8.0
原理:将font-family中的第一个字体设置Verdana字体
测试代码如下:

复制代码
代码如下:





表单元素input、文字完美垂直居中对齐方法-脚本之家webjx.com











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