摘要: 将图片设置为不重复的背景,用padding和text-indent等方式定义文字内容距父块左上角的位置。好处是定位更加精确。例子:如此图 图片是个小手机实现CSS代码:#nav span{float:right;background: url(../images/phone_icon.gif) 0 ... 阅读全文
posted @ 2013-06-14 14:26 chenqiushi909 阅读(124) 评论(0) 推荐(0)