1 Reply Latest reply on Sep 9, 2008 2:02 AM by malcster2

    how to make over while down list item

    kimikimish Level 1

      My idea is simmilar to this site's nav bar : www.trademe.co.nz

      I want my li or a when clicked turn into black in color and bold as well

      Here is my html so far : (some item written in vietnamese)

      <div id="menu"><a href="#">Trang Chủ</a> <a href="#">Mua</a> <a href="#">Bán</a> <a href="#">Tài Khoản</a> <a href="#">Cộng Đồng</a></div>

      Here is my css :

      #menu a {
      display: block;
      margin-bottom: 8px;
      border-top: 1px solid #CCCCCC;
      border-right: 1px solid #CCCCCC;
      border-bottom: 1px solid #CCCCCC;
      border-left: 1px solid #CCCCCC;
      padding-top: 2px;
      padding-bottom: 2px;
      padding-left: 25px;
      margin-right: 1em;
      font-weight: bold;
      text-decoration: none;
      #menu a:hover {
      background: #FFEFDF;
      text-decoration: underline;