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?
Asked
Active
Viewed 31 times
-1
-
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 Answers
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