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


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » border width »

 

'border-width' Example



    
<html>
<head>
<style>
.style1 
    border:5px solid #cccccc; 
    border-width:6px; 
}
.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>

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» border width