+ -
当前位置:首页 → 问答吧 → 密码框

密码框

时间:2010-11-06

来源:互联网

<!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>无标题文档</title>
<style type="text/css">
li{ list-style:none;}
#floatBox {
position:absolute;
left:340px;
top:144px;
width:600px;
height:200px;
border:1px solid red;
}
#floatBox input {
float:left;
margin-top:20px;
margin-left:30px;
width:50px;
height:50px;
line-height:30px;
text-align:center;
  font-size:36px;
}
</style>
</head>
<body>
<div id="floatBox">
  <li>
  <input type="password" value="" maxlength="1" style="border:1px solid red; "/>
  <input type="password" value="" maxlength="1" style="border:1px solid red; "/>
  <input type="password" value="" maxlength="1" style="border:1px solid red; "/>
  <input type="password" value="" maxlength="1" style="border:1px solid red; "/>
  <input type="password" value="" maxlength="1" style="border:1px solid red; "/>
  <input type="password" value="" maxlength="1" style="border:1px solid red; "/>
  </li>
</div>
</body>
</html>
默认输入框中的是圆点,怎么让它变成其他字符,比如星号?

作者: minjun0901   发布时间: 2010-11-06

你自己实现一个!

css 是改不了的

作者: hch126163   发布时间: 2010-11-07

热门下载

更多