praveenjayapal praveenjayapal - 1 year ago 109
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?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download