HTML CSS examples for CSS Widget:UL Element
Force line break after list bullets
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul {<!--from www . java 2s . co m--> padding:0; list-style-position:inside; background:yellow; overflow:hidden; } li { float:left; text-align:center; margin:0 21px; } </style> </head> <body> <ul> <li> <br>Lorem ip</li> <li> <br>Lorem ip</li> <li> <br>Lorem ip</li> </ul> </body> </html>