tags:

views:

1023

answers:

7

Hi friends, I have created a unordered list, that is much useful for me to append and remove list item using jquery.. I feel the bullets in the unordered list is disturbing much, so i want to remove it. How its possible to have a list with out bullet.

Please help me,

Thanks,
Praveen J

+6  A: 

You can remove bullets with a CSS style like this

ul
{
    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.

Paul Dixon
+5  A: 

You need to use style="list-style: none;":

<ul style="list-style: none;"><li> ...
karim79
+2  A: 

Use CSS:

ul
{
  list-style-type: none
}
ole_berlin
+2  A: 

in css...

ul {
   list-style:none;
}
Tim Hoolihan
+2  A: 

in css , style , list-style-type: none;

Haim Evgi
+2  A: 

You would have to add a style to the <ul> element like the following:

<ul style="list-style: none; ">
    <li>Item</li>
    ...
    <li>Item</li>
</ul>

That will remove the bullets. You could also add the CSS in a stylesheet like the examples above.

Daniel
A: 

Are you sure you want a list then? You are asking how to remove what makes your text a list, otherwise it could be some paragraphs. The solution can be found htmlhelp.com, though, if you think it is really appropriate.

soulmerge