Force line break after list bullets - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Force line break after list bullets

Demo Code

ResultView the demo in separate window

<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>

Related Tutorials