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

Home
HTML / CSS
1.CSS
2.CSS Controls
3.Form
4.IE Firefox
5.Layout
6.Marquee Attributes
7.Meta Tags
8.Microsoft Attributes
9.Object
10.Reference
11.Style Basics
12.Tags
13.Templates
14.XML
HTML / CSS » CSS » border right 
'border-right' Example
  
    
<html>
<head>
<style>
.style1 
    border:5px solid #cccccc; 
    border-right:5px solid red; 
    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-right: 1px dashed darkkhaki;
2.border-right: 1px solid crimson;
3.border-right: 1px solid #b0b0b0;
4.border-right: 1px solid #f66
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.