会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
云开见月明
博客园
首页
新随笔
联系
订阅
管理
2020年3月29日
div中图片和文字同一行实现垂直居中
摘要: vertical-align作用对象为内联元素display设置table-cell后,magin和padding就会失效 #bj { height:100px; color: white; font-size: 30px; margin: 10px 0; display: table-cell;
阅读全文
posted @ 2020-03-29 23:37 云开见月明
阅读(2524)
评论(1)
推荐(0)
编辑
公告