您的位置:首页 > 其它

[转]div内容底部对齐

2014-01-14 11:15 351 查看
本文转自:http://blog.csdn.net/hellomy/article/details/5889833

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>CSS实现文字底部对齐</title>
<style type="text/css">
#txt{
height:246px;
width:512px;
border:1px solid #000000;
position:relative

}
#txt span{
position:absolute;
bottom:10px;
padding:0px;
margin:0px
}
</style>
</head>
<body>
<div id="txt">
<span><a href="#" target="_blank">网页特效ggg</a></span>
</div>
</body>
</html>


<div style=" position:absolute; bottom:15px; right:15px; "></div>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: