61,129
社区成员




<!-- 信内容 -->
<div class="letter-content">
<!-- 信纸格式背景 -->
<div class="letter-layout">
<div class="letter-line"></div>
<div class="letter-line"></div>
<div class="letter-line"></div>
<div class="letter-line"></div>
</div>
<textarea class="letter-text" bindfocus="" value="喜欢你的人很多,不缺我一个。我喜欢的人很少,除你就没了。我说不出来为" />
</div>
/*信件内容*/
.letter-content {
width: 550rpx;
height: 312rpx;
margin: 0 auto;
/* background: green;*/
position: relative;
}
.letter-layout {
position: absolute;
left: 0;
top: 0;
width: 550rpx;
}
.letter-line {
height: 20px;
height: 77rpx;
line-height: 77rpx;
border-bottom: 1rpx solid #e0e0e0;
}
.letter-text {
position: absolute;
left: 0;
top: 0;
width: 550rpx;
height: 311rpx;
line-height: 77rpx;
font-size: 40rpx;
color: #999999;
}
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<style>
#oDiv textarea{width:100%; height: 500px; background: url(dot.png); line-height: 48px; font-size: 20px;}
</style>
</head>
<body>
<div id="oDiv">
<textarea ></textarea>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.js" type="text/javascript"></script>
<style type="text/css">
.xxx{
height: 20px;
width: 100%;
border: 0px;
border-bottom: 1px solid #c3c3c3;
}
.xxx:focus,.xxx2:focus{
outline: none;
}
.xxx2{
height: 20px;
width: 100%;
border: 0px;
border-bottom: 1px solid #c3c3c3;
background: #f5f7fa;
}
</style>
</head>
<body>
<input class="xxx">
<input class="xxx2">
<input class="xxx">
<input class="xxx2">
<input class="xxx">
<input class="xxx2">
<input class="xxx">
<input class="xxx2">
<input class="xxx">
<input class="xxx2">
<input class="xxx">
<input class="xxx2">
<script type="text/javascript">
</script>
</body>
</html>