表模块素竖直垂直居中完善处理计划方案

2021-03-21 11:49 jianzhan

拷贝编码
编码以下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf⑻"/>
<title>表模块素完善竖直垂直居中</title>
<style type="text/css">
*{padding:0; margin:0;}
body{font:14px/1.231 Tahoma, Geneva, sans-serif; background-color:#D1D5E7;}
label{cursor:pointer; vertical-align:middle;}
input{vertical-align:middle; margin:5px;}
.warp{ margin:100px 350px;}
span{ vertical-align:middle; text-decoration:underline;}
img{ vertical-align:middle; border:1px solid #CCF;_margin-bottom:1px;}
p{font-size:14px;}
h2{font-size:16px;}
</style>
</head>
<body>
<div class="warp">
<h2>单选框和复选框面积很小,不可易点一下,导致很多客户的困扰,客户体验不佳</h2>
<p>请看【1丝冰冷】的完善处理计划方案:

完善竖直垂直居中,点一下文本可选,便捷键可选,电脑鼠标在文本上显示信息手型(暗示可点一下)</p>
<input name="aaa" id="aaa" type="checkbox" value=""/> <label for="aaa">X×我是完善的复选框</label>

<input name="ccc" id="ccc" type="checkbox" accesskey="2" value=""/> <label for="ccc">我适用电脑键盘 Alt+2挑选(<span>2</span>)</label>

<input name="bbb" id="bbb" type="radio" value=""/><label for="bbb">X×我是完善的单选框</label>

<label for="fff">X×我是完善的文字框</label><input id="fff" type="text"/>

<input name="eee" id="eee" type="checkbox" value=""/><span>照片也能垂直居中</span><img width="270" height="129" usemap="#mp" src="http://www.baidu.com/img/baidu_sylogo1.gif"/>
</div>
</body>
</html>