[转]div内容底部对齐

本文转自: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>

上一篇:Java 实现文件上传、下载、打包、文件copy、文件夹copy。


下一篇:CentOS中怎样安装mysql并修改密码、设置开机启动、配置远程连接