Top "Html-lists" questions

Used for ordered and unordered lists and their list items in HTML, and also any list styles applied to them.

How to set Bullet colors in UL/LI html lists via CSS without using any images or span tags

Imagine a simple unsorted list with some <li> items. Now, I have defined the bullets to be square …

css layout colors html-lists
Getting rid of bullet points from <ul>

I have the following list: <ul id="otis"> <li>Benz</li> <li>…

html html-lists
How can I center <ul> <li> into div

How can I center an unordered list of <li> into a fixed-width div?

css html html-lists
How to display an unordered list in two columns?

With the following HTML, what is the easiest method to display the list as two columns? <ul> <…

html css html-lists css-multicolumn-layout
HTML list-style-type dash

Is there a way to create a list-style in HTML with a dash (i.e. - or – &ndash; or — &…

html css xhtml html-lists
How do I set vertical space between list items?

Within a <ul> element, clearly the vertical spacing between lines can be formatted with the line-height attribute. My …

html css html-lists
Proper way to make HTML nested list?

The W3 docs have a nested list example prefixed by DEPRECATED EXAMPLE:, but they never corrected it with a non-deprecated …

html html-lists nested-lists
How to keep indent for second line in ordered lists via CSS?

I want to have an "inside" list with list bullets or decimal numbers being all flush with superior text blocks. …

html css html-lists
Removing ul indentation with CSS

I cannot seem to remove the indent from my unordered list when long lines in my list wrap around. Here …

html css html-lists
How to make the HTML link activated by clicking on the <li>?

I have the following markup, <ul id="menu"> <li><a href="#">Something1</a&…

html css menu html-lists anchor