get border Around <ul> tag - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL

Description

get border Around <ul> tag

Demo Code

ResultView the demo in separate window


<html>
 <head> 
  <style>
.connected {<!--from ww w. j a  va 2s.co m-->
   border:2px solid Chartreuse;
}
</style> 
 </head> 
 <body> 
  <div style="border:2px solid #a1a1a1;"> 
   <ul class="connected list no2"> 
    <li>Lorem i</li> 
    <li>Lorem i</li> 
    <li>Lorem i</li> 
    <li>Lorem i</li> 
    <li>Lorem i</li> 
    <li>Lorem i</li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials