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