We would like to know how to center li text having inside bullet position.
<!--from w ww .j a v a2 s .c om-->
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
li {
text-align: center;
list-style-position: inside
}
</style>
</head>
<body>
<ol>
<li>LOL</li>
<li>LOL</li>
</ol>
</body>
</html>
The code above is rendered as follows: