Create dotted line border - HTML CSS CSS Property

HTML CSS examples for CSS Property:border-style

Description

Create dotted line border

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!-- w ww .  ja  va 2s . c o m-->
 <body> 
  <style type="text/css">

.container {
   width:500px;
   padding-left:200px
}
.inner{
   border-bottom: 1px dotted red;
}


      </style> 
  <div class="container"> 
   <div class="inner">
     asdf 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials