会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
绯红的花io
博客园
首页
新随笔
联系
管理
订阅
2016年8月2日
让不确定宽度的元素水平居中
摘要: 方法一:<div class="wrap"> <div class="inner">html : 让 inner 居中</div> </div> .wrap { float: left;/* 自适应内容宽度 */ position: relative; left: 50%; } .inner { p
阅读全文
posted @ 2016-08-02 21:38 绯红的花io
阅读(2080)
评论(0)
推荐(0)
编辑
公告