我使用以下列表:
This is the second footnote...
使用以下.css:
#footnotes {list-style-type: decimal;
list-style-color: #f90;
}
#footnotes li
{color: #000;
}
#footnotes a li,
#footnotes li a
{color: #f90;
}
目的是让li / footer文本本身为黑色(#000),数字样式为橙色(#f90)。
我试过使用list-style-color属性,但这除了扰乱Web开发工具工具栏(在FF3.0.8 / Ubuntu 8.04),Midori同样不显示数字橙色(我想我会试试在Webkit引擎中,只是为了防止…)。
有任何想法吗?
编辑HTML(因为我记得标签不一定需要包含任何东西作为锚点):
- This is the first footnote...
- This is the second footnote...
针对建议使用< span>里面的< li> …是啊。这发生了,虽然我感谢你的建议和时间,但我正在寻找(我的标准,我… …)一个更多…语义选项。
因为它是,我想我可能会使用这种方法。虽然我接受了不同的,Pete Michaud的答案,由于其绝对的信息性质。谢谢!