列出项目对齐方式

时间:2010-09-16 09:25:13

标签: html css

我有一个列表,在Firefox中它看起来像这样:http://cl.ly/2Og9但在Safari中它看起来像这样:http://cl.ly/2PLT

这是列表的代码。很简单:

#footerwrap #footer-left li {
    background: url(images/common/list-item.gif) no-repeat 0px 10px;
    padding: 4px 10px 8px 15px;
    font: normal 12px Verdana;
}

我需要做些什么才能让它像在Firefox中一样正确对齐?谢谢!

1 个答案:

答案 0 :(得分:0)

没关系,这是一个愚蠢的事情。该列表在li周围没有ul标签。谢谢!