how do i move the numbers of an ordered list centered with css

Solutions on MaxInterview for how do i move the numbers of an ordered list centered with css by the best coders in the world

showing results for - "how do i move the numbers of an ordered list centered with css"
Dylan
02 Jan 2017
1<!DOCTYPE html>
2<html>
3<head>
4  <meta charset="utf-8">
5  <title>align</title>
6  <style>
7    li {list-style-position: inside;}
8  </style>
9</head>
10<body>
11<ol>
12  <li style="text-align: left">item 1</li>
13  <li style="text-align: center">item 2</li>
14  <li style="text-align: right">item 3</li>
15</ol>
16</body>
17</html>
18