Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Cascading Style Sheets _ list type

Posted by: minidiapolis Apr 21 2009, 08:15 PM

The code for no bullets in a list is list-style-type : none, right?

Posted by: pandy Apr 21 2009, 08:21 PM

Yes.

Posted by: Darin McGrew Apr 21 2009, 08:21 PM

That is correct. According to http://www.w3.org/TR/CSS21/generate.html#list-style, the value "none" means no marker.

Posted by: minidiapolis Apr 21 2009, 08:32 PM

that's what I have but it's not worked. It's on www.sullens.net/~mthomas/project Ignore the picture, that's getting changed

Posted by: Darin McGrew Apr 21 2009, 09:08 PM

You're applying the property to div#menuBar but it should be applied to the li elements.

Posted by: pandy Apr 21 2009, 09:09 PM

At the page Darin links to it says...
Applies to: elements with 'display: list-item'

You use it with '#menuBar' which matches a DIV. A DIV isn't a list-item. You must use it with the list. '#menuBar ul' or '#menuBar li'.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)