Tab bar with bottom image : tab : CSS Controls HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Controls » tab »

 

Tab bar with bottom image


 



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>Lists</title>
  <style type="text/css" media="screen">
  #myNav #minitabs {
    margin: 0;
    padding: 0 0 20px 10px;
    border-bottom: 1px solid #9FB1BC;
  }
  
  #myNav #minitabs li {
    margin: 0
    padding: 0;
    display: inline;
    list-style-type: none;
    }
    
  #myNav #minitabs a {
    float: left;
    line-height: 14px;
    font-weight: bold;
    font-size: 10px;
    padding: 0 12px 6px 12px;
    text-decoration: none;
    color: #708491;
    }
  
  #myNav #minitabs a.active, #myNav #minitabs a:hover {
    color: #000;
  }  
  </style>
</head>

<body>


<div id="myNav">
  <ul id="minitabs">
    <li><a href="">A Item</a></li>
    <li><a href="">B Item</a></li>
    <li><a href="" class="active">C Item</a></li>
    <li><a href="">D Item</a></li>
  </ul>
</div>


</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Controls
» tab