61,112
社区成员
发帖
与我相关
我的任务
分享
<!DOCTYPE HTML>
<html>
<head>
<meta charset="gb2312" />
<title></title>
<style>
div {
position:relative;
border:1px solid red;
width:200px; height:40px; line-height:40px;
font-size:20px; text-align:center;
}
span {
position:absolute; right:10px; top:0;
}
</style>
</head>
<body>
<div>
123<span>span</span>
</div>
</body>
</html>