'border-bottom-style' Example : border bottom style « CSS « HTML / CSS

HTML / CSS » CSS » border bottom style 
'border-bottom-style' Example
  
    
<html>
<head>
<style>
.style1 
    border:5px solid #cccccc; 
    border-bottom-style:dashed; 
    font-family:verdana; 
    font-weight:bold
}
.style2 
    border:"none"
    font-family:verdana; 
    font-weight:bold 
}
</style>
</head>
<body>
Move mouse in and out to see the style change.
<div style="width:230; 
            height:100; 
            background-color:beige"
     onmouseover="this.className='style1'"
     onmouseout="this.className='style2'">This is a div element.
</div>
</body>
</html>

    
      
        
    
  
Related examples in the same category
1.border-bottom-style: double
2.border-bottom-style: double;
3.Set border bottom style to dashed
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.