HTML CSS examples for CSS Widget:UL Element
Replacing bullets of HTML lists with any characters
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul {<!--from w w w . j av a 2s.c o m--> list-style-type:none; } li:before { content:"- "; margin:0 0 0 -11px; } </style> </head> <body> <ul> <li>Lorem i</li> <li>Lorem ips<br>Lorem ips</li> </ul> </body> </html>