praveenjayapal praveenjayapal - 2 months ago 13x
HTML Question

Need an unordered list without any bullets

I have created an unordered list, and I am appending and removing list items using jQuery.. I feel the bullets in the unordered list are bothersome, so I want to remove them. Is it possible to have a list without bullets?


You can remove bullets by setting the list-style-type to none on the CSS for the <ul> element, for example

    list-style-type: none;

You might also want to add padding:0; margin:0; to that, if you want to remove indentation as well.

See Listutorial for a great walkthrough of list formatting techniques.