ITeye博客

排行榜样式

wentao365 · 2012-04-05 11:50 · div-css · 移动开发 · Markdown

[b]1:效果[/b] [img]http://dl.iteye.com/upload/attachment/0066/0208/8283987d-43a2-301a-9bb2-5681b75fa2a8.png[/img] [b]2:资源[/b] dotted.gif [img]http://dl.iteye.com/upload/attachment/0066/0210/e96a0a92-6f2e-3cac-b3ec-b476f6e87655.gif[/img] theme_ui.png [img]http://dl.iteye.com/upload/attachment/0066/0212/4bf429cb-1af7-3419-8ac8-8ec0c373fce1.png[/img] [b]3:div[/b] [code="java"]

[/code] [b]4:css[/b] [code="java"]body { margin:0; padding:0; line-height:1.75; font-size:12px; font-family:"宋体", sans-serif; } a:link, a:visited { color:#333; text-decoration:none } a:hover, a:active { text-decoration:underline } .toplist ul { padding: 0 10px; width:287px; height:481px; overflow: hidden; } .toplist li { list-style:none; background:url(dotted.gif) repeat-x left bottom; height:32px; line-height:32px; width:100%; float: left; padding-bottom:1px; } .toplist li var { background-image:url(theme_ui.png); background-repeat: no-repeat; font-style:normal; font-weight:normal; width:14px; height:14px; line-height:14px; text-align:center; font-weight:700; color:#000; display:inline; float: left; background-position: -566px -179px; display:inline; margin: 0 10px 0 2px; margin-top:10px; *margin-top:8px; }[/code]

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。