Aligning graphic based bullet points with css - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Alignment

Description

Aligning graphic based bullet points with css

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 w ww.ja  va2s  .  co m-->
   list-style-type:none;
   padding:0px;
   margin:0px;
}

ul li {
   font-weight:bold;
   font-size:111%;
   margin:0px 0 16px 46px;
   border:2px solid Chartreuse;
}

.moutlook {
   background-image:url('http://www.java2s.com/style/demo/Google-Chrome.png');
   background-repeat:no-repeat;
   padding-left:36px;
   line-height:29px;
}
</style> 
 </head> 
 <body> 
  <ul> 
   <li class="moutlook">List</li> 
   <li class="moutlook">List</li> 
   <li class="moutlook">List</li> 
   <li class="moutlook">List</li> 
   <li class="moutlook">List</li> 
  </ul>  
 </body>
</html>

Related Tutorials