'border-bottom' Example : border bottom : CSS Attributes and Javascript Style Properties HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » 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>

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» border bottom