媒体对象(Media Object)。这些抽象的对象样式用于创建各种类型的组件(比如:博客评论),我们可以在组件中使用图文混排,图像可以左对齐或者右对齐。媒体对象可以用更少的代码来实现媒体对象与文字的混排。
display:table-cell实现兼容性的两栏自适应布局
http://www.zhangxinxu.com/study/201010/table-cell-two-column-flow-layout.html
.content{display:table-cell; *display:inline-block;}
实现大小不固定图片垂直居中的效果展示
http://www.zhangxinxu.com/study/200908/img-text-vertical-align.html
转载请注明原文地址: https://ju.6miu.com/read-4239.html