HTML CSS examples for CSS Widget:UL Alignment
<li> element alignment and reduce space on left side of bullet
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .container {<!-- ww w . ja v a 2s .c o m--> width:501px; overflow:auto; } .container ul { list-style:inside none square; } </style> </head> <body> <div class="container"> <ul> <li>Lor</li> <li>Lor</li> <li>Lorem</li> <li>Lore</li> </ul> </div> </body> </html>