自由,平等,开源,分享

闻道有先后,术业有专攻,如是而已

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  2 Posts :: 61 Stories :: 3 Comments :: 0 Trackbacks

<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title></title>
<style type="text/css">
body
{margin:0;padding:0}
div
{margin:-200px auto auto -275px;position:absolute;top:50%;left:50%;width:550px;height:400px;background:#ff6600;text-align:center;line-height:400px}
</style>
</head><body>
<div>盒模型 div 布局的垂直居中(W3C 推荐方法)</div>
</body></html>

posted on 2008-04-18 01:01 龙震 阅读(66) 评论(0)  编辑  收藏 所属分类: W3C validation

标题  
姓名  
主页
验证码 *  
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
该文被作者在 2008-04-22 14:06 编辑过
 
 

相关链接:
网站导航: