<!DOCTYPE>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
table {border-top:1px solid black;border-left:1px solid black;}
table td{border-right:1px solid black;border-bottom:1px solid black;}
.combo {
border-color: black;
background-color: #fff;
border-width: 1px;
border-style: solid;
overflow: hidden;
margin: 0;
padding: 0;
display: inline-block;
white-space: nowrap;
vertical-align: middle;
}
.combo .combo-text {
font-size: 12px;
border: 0px;
line-height: 20px;
height: 20px;
margin: 0;
padding: 0px 2px;
vertical-align: baseline;
}
</style>
</head>
<body>
<fieldset>
<legend>健康信息</legend>
<form>
<label>身高:175</label>
<label>体重:80</label>
</form>
</fieldset>
<span class="combo">
<input class="combo combo-text">
<span>
<span style="width:50px;">万元</span>
</span>
</span>
</body>
</html>
IPUT输入框末端加上单位:元,个。。
最新推荐文章于 2024-01-17 16:47:55 发布