a:hover color: #B29B35; : a.hover « Tags « HTML / CSS






a:hover color: #B29B35;

     

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>*KHAKI*</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style rel="stylesheet" type="text/css">

#sidebar {
  float: left;
  width: 180px;
  margin: 0 10px 0 0;
  padding: 10px;
  border-right: 1px solid #eee;
  color: #666;
}

#sidebar a {
  color: #333;
  background: inherit;
}

#sidebar a:hover {
  color: #B29B35;
  background: inherit;
}

#sidebar {
  float: left;
  width: 180px;
  margin: 0 10px 0 0;
  padding: 10px;
  border-right: 1px solid #eee;
  color: #666;
}

#sidebar a {
  color: #333;
  background: inherit;
}

#sidebar a:hover {
  color: #B29B35;
  background: inherit;
}


</style>

</head>
<body>

  <div id="sidebar">
    <h2>Resources</h2>
    <div class="navlist">
      <ul>
        <li><a href="">A</a></li>
        <li><a href="">TODC</a></li>
        <li><a href="">OWD</a></li>
        <li><a href="">E</a></li>
        <li><a href="">F</a></li>
        <li><a href="">B</a></li>
        <li><a href="">C</a></li>
      </ul>
    </div>
    <form action="" method="post">
      <fieldset>
      <legend>Search</legend>
      <div> <span>
        <label for="txtsearch"> Find: <img src="img/search.gif" alt="search" /></label>
        </span> <span>
        <input type="text" value="demo only" name="txtsearch" title="Text input: search" id="txtsearch" size="20" />
        </span> </div>
      </fieldset>
    </form>
    <h2>Sub Menu</h2>
    <div class="navlist">
      <ul>
        <li><a href="">Link One</a></li>
        <li><a href="">Link Two</a></li>
        <li><a href="">Link Three</a></li>
        <li><a href="">Link Four</a></li>
      </ul>
    </div>
    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
  </div>

</body>
</html>

   
    
    
    
    
  








Related examples in the same category

1.a:hover text-decoration:underline;
2.a:hover background-color:#ccffff;
3.a:hover, a:active text-decoration: underline overline;
4.Link visted hover
5.Link visted hover active
6.Link visted hover active focus
7.a:hover text-decoration:underline; background-color:#ccffff;
8.A link with a title attribute - hover over the link to see the tooltip appear
9.a:hover text-decoration: none;
10.a:hover color: #369;
11.a:hover background: inherit;
12.Update image while mouse hover
13.a:hover {color: red; text-decoration: underline;}
14.Anchor with solid background, and hover effect
15.anchor based mouse hover effect
16.Hover Anchor Style inside a LI
17.Change Anchor underline decoration when mouse hover
18.Change background position for anchor when mouse hover
19.a:hover color: yellow;