css works in IE not mozilla

css works in IE not mozilla

am 11.09.2007 20:56:13 von Carlos

I put together a simple css style sheet to display list items. I do
not want the bullets to show up on my list items. It works fine on IE,
but on mozilla it is showing the bullet items. What can I do to fix
this?


..myList
{
float: left;
margin: .9em .5em .5em;
width:490px;
}

.myList ul
{
width: 30em;
padding-left:10px;
padding-right:10px;
padding-bottom:5px;
padding-top:5px;
}

Re: css works in IE not mozilla

am 11.09.2007 21:17:55 von John Hosking

carlos wrote:
> I do not want the bullets to show up on my list items.
> What can I do to fix this?

> .myList ul
> {
> width: 30em;
> padding-left:10px;
> padding-right:10px;
> padding-bottom:5px;
> padding-top:5px;
list-style:none;
> }

Cf. http://www.w3.org/TR/CSS21/generate.html#list-style

--
John
Pondering the value of the UIP: http://improve-usenet.org/