技术支持

如果建站过程中遇到问题,请到这里查看解决办法

字对齐代码

<!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-8" />
<title>css3字对齐代码</title>
</head>
<body>
<style>
  .half {
    *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#x2002;');
}
.full {
    *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#x2003;');
}
.half:before { content: '\2002'; speak: none; }
.full:before { content: '\2003'; speak: none; }
.nb{width:0.5em;display:inline-block;height:2px}
</style>
<ul>
    <li class="li">姓<span class="full"></span><span class="full"></span>名:<input type="text" /></li>
    <li class="li">手<span class="half"></span>机<span class="half"></span>号:<input type="text" /></li>
    <li class="li">电子邮箱:<input type="text" /></li>

</ul>


<span>收<div class="nb"></div>货<div class="nb"></div>人:</span><Br />
<span>收货地址:</span>
</html>

京ICP备2014020853号  QQ在线咨询   邮箱:46334847@qq.com   版权所有 2004-2014 云华互联保留所有权利

网站关键字:云华互联  单县网站建设  单县网站设计  单县网页制作