-1

enter image description here

I would like to keep the formatting of unordered lists the same as in the screenshot attached. But I would like to position it all to the center. How do I accomplish that? Bear in mind I already used text-align: left. Is there any other way to center apart of adding left element and adding values?

John Conde
  • 217,595
  • 99
  • 455
  • 496
Max Visna
  • 41
  • 6
  • Possible duplicate of [Position an HTML element relative to its container using CSS](http://stackoverflow.com/questions/104953/position-an-html-element-relative-to-its-container-using-css) – imtheman Jul 08 '16 at 23:08

1 Answers1

0
<div style="width: 30%; margin-left: 35%">
    <ul>
        <li>Some text</li>
        <li>Some text with other text</li>
        <li>Some text with other text plus more text</li>
    </ul>
</div>

ok? =)

Leonid Zakharov
  • 940
  • 1
  • 6
  • 11