ul {
display: table;
margin: 0 auto;
}
<html>
<body>
<ul>
<li>56456456</li>
<li>4564564564564649999999999999999999999999999996</li>
<li>45645</li>
</ul>
</body>
</html>
More Related Contents:
- Centering a video in the middle of the page while having a side menu on the left. html/css
- Does UL have default margin or padding [duplicate]
- Center a DIV horizontally and vertically [duplicate]
- How to keep indent for second line in ordered lists via CSS?
- Li item on two lines. Second line has no margin
- How to display an unordered list in two columns?
- How can you customize the numbers in an ordered list?
- CSS: Control space between bullet and
- How to make a display in a horizontal row
- Responsive Separator for Horizontal List
- Center aligning a fixed position div
- Removing ul indentation with CSS
- HTML + CSS: Ordered List without the Period?
- How to vertically center a inside a div? [duplicate]
- How do I justify a horizontal list?
- Best way to manage whitespace between inline list items
- Change the color of a bullet in a html list?
- Center form submit buttons HTML / CSS
- Centering floating divs within another div
- How to center a (background) image within a div?
- HTML + CSS: Numbered list with numbers inside of circles
- How to horizontal & vertical center a div [duplicate]
- HTML ordered list 1.1, 1.2 (Nested counters and scope) not working
- HTML list-style-type dash
- Is it possible to specify a starting number for an ordered list?
- How can I prefix ordered list item numbers with a static string using CSS?
- Can you style ordered list numbers?
- centering a div between one that’s floated right and one that’s floated left
- Adding text before list
- Fluid width with equally spaced DIVs