晚风

博客园 首页 新随笔 联系 订阅 管理

2013年10月29日 #

摘要: 右对齐,换行显示的解决方法2010-8-26.news li{ position:relative; float:left; width:260px; //设定宽度}.news lispan { display:inline-block; }.news li span.lbl { width: 80px; text-align: right;}.news li span.date { width: 180px; text-align: left; position:absolute;//绝对定位,靠右 right:0;} 阅读全文
posted @ 2013-10-29 14:45 晚风 阅读(1011) 评论(0) 推荐(0) 编辑