【发布时间】:2014-11-17 23:42:33
【问题描述】:
我试图将 - 和 + 图标放置在树线的右侧,但在文本“哺乳动物”和“大象”之前
【问题讨论】:
标签: css image positioning
我试图将 - 和 + 图标放置在树线的右侧,但在文本“哺乳动物”和“大象”之前
【问题讨论】:
标签: css image positioning
所有你需要的:
.treeView li.collapsibleListOpen {
background: url('http://code.stephenmorley.org/javascript/collapsible-lists/button-open.png') no-repeat 1em 0.5em;
list-style: none;
}
.treeView li.collapsibleListClosed {
background: url('http://code.stephenmorley.org/javascript/collapsible-lists/button-closed.png') no-repeat 1em 0.5em;
list-style: none;
}
.treeView li {
padding: 0px 2em;
/* rest of the styles */
}
【讨论】: