English 中文(简体)
显示错误, 火狐上存在 <li> 元素
原标题:Display error with <li> elements on firefox

我试图为我正在工作的一个网站创建一个列表, 但我在检查壁炉后注意到列表元素没有始终显示。 我检查了 IE、 歌剧和 safari, 并且都正确展示了它们。 我附加了Firefox vs. chrome 上的图像( 下面) 。 我使用一个单独的重置样式表( Eric Meyer 版本), 基本上包括 Li 元素在内的所有内容都重新显示 。

这是CS代码:

ol{
list-style-type:decimal;
list-style-position:inside;
}

li{
padding:2px;
font-size:18px;
text-align:left;
}
最佳回答

我会尝试设置 < code> line- leight: 18px;

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签