Sliding door round corner : Round « CSS Controls « HTML / CSS






Sliding door round corner

  

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
#header li {
 float: left; 
 background-image: url(./css-book/tab_right.gif);
 background-repeat: no-repeat;
 background-position: right top; 
 margin:0;
 padding: 0;
}

#header a {
 display: block;
 background-image: url(./css-book/tab_left.gif); 
 background-repeat: no-repeat;
 background-position: left top;
 padding: 5px 15px; 
 color: #ccc;
 text-decoration: none;
}

#header #current {
 background-image:url(./css-book/tab_right_current.gif);
}
#header #current a {
 background-image:url(./css-book/tab_left_current.gif);
 color: black;
}
</style>
</head>

<body>

  <div id="header">
   <h2>Personal Site dot-com</h2>
   <h5>Site navigation:</h5>
   <ul>
    <li><a href="/">Home</a></li>
    <li><a href="/about/">About</a></li> 
    <li><a href="/archives/">Archives</a></li>
    <li><a href="/writing/">Writing</a></li>
    <li id="current"><a href="/speaking/">Speaking</a></li> 
    <li><a href="/contact/">Contact</a></li>
   </ul>
  </div>
  
</body>
</html>

   
    
  








Related examples in the same category

1.Round corner sections
2.Round corner section title bar
3.Round corner for all sections
4.Round corner
5.HTML for borders with rounded corners
6.Shading background border