lqxue

常用链接

统计

book

tools

最新评论

div 底端对齐

<style type="text/css" media="all">
div,img
{margin: 0;padding: 0;border: 0;}


#content
{width: 303px;height: 404px;background: #F63;color: #000;font: 12px Arial,Helvetica,sans-serif;position: relative;}

#content div
{position: absolute;left: 0;bottom: 0;}
</style>
</head>
<body>
<div id="content">
<div>底端对齐 </div>
</div>

posted on 2008-09-01 13:13 lqx 阅读(824) 评论(0)  编辑  收藏 所属分类: html


只有注册用户登录后才能发表评论。


网站导航: