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

HTML / CSS » CSS » border bottom 
'border-bottom' Example
  
    
<html>
<head>
<style>
.style1 
    border:5px solid #cccccc; 
    border-bottom:5px solid red; 
    font-family:verdana; 
    font-weight:bold
}
.style2 
    border:"none"
    border-bottom:15px solid blue; 
    font-family:verdana; 
    font-weight:bold 
}
</style>
</head>
<body>
<div id="myL" 
     style="width:500; 
     height:500; 
     background-color:yellow"
     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: 1px solid black
2.border-bottom: 1px dotted black
3.border-bottom: 2px dashed gray
4.Set border-bottom shortcut: 10px solid #666;
5.border-bottom: 1px solid darkkhaki;
6.border-bottom: 1px solid pink;
7.border-bottom: 1px solid #b0b0b0;
8.border-bottom shortcut: 2px dashed black;
9.border-bottom: 1px solid steelblue
10.border-bottom: 1px solid #778
11.Add bottom dotted green
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.