日期:2014-05-16  浏览次数:20359 次

怎么改 :跳转到相应页 导航栏文字的背景色就变成蓝色
<html   xmlns= "http://www.w3.org/1999/xhtml ">

<head>
<title> </title>

<style   type= "text/css ">
body   {font-size:12px;font-family:宋体}
ul.TabBarLevel1{
  list-style:none;
  margin:0;
  padding:0;
  height:29px;
  background-image:url(http://pics.taobao.com/2k5/sys/component/tabbar_level1_bk.gif);
}
ul.TabBarLevel1   li{
  float:left;
  padding:0;
  height:29px;
  margin-right:1px;
  background:url(http://pics.taobao.com/2k5/sys/component/tabbar_level1_slice_left_bk.gif)   left   top   no-repeat;
}
ul.TabBarLevel1   li   a{
  display:block;
  line-height:29px;
  padding:0   20px;
  color:#333;
  background:url(http://pics.taobao.com/2k5/sys/component/tabbar_level1_slice_right_bk.gif)   right   top   no-repeat;
  white-space:   nowrap;
}
ul.TabBarLevel1   li.Selected{
  background:url(http://pics.taobao.com/2k5/sys/component/tabbar_level1_slice_selected_left_bk.gif)   left   top   no-repeat;
}
ul.TabBarLevel1   li.Selected   a{
  background:url(http://pics.taobao.com/2k5/sys/component/tabbar_level1_slice_selected_right_bk.gif)   right   top   no-repeat;
}

ul.TabBarLevel1   li   a:link,ul.TabBarLevel1   li   a:visited{
  color:#333;
}
ul.TabBarLevel1   li   a:hover,ul.TabBarLevel1   li   a:active{
  color:#F30;
  text-decoration:none;
}
ul.TabBarLevel1   li.Selected   a:link,ul.TabBarLevel1   li.Selected   a:visited{
  color:#000;
}
ul.TabBarLevel1   li.Selected   a:hover,ul.TabBarLevel1   li.Selected   a:active{
  color:#F30;
  text-decoration:none;
}
div.HackBox   {
    padding   :   2px   2px   ;
    border-left:   2px   solid   #6697CD;
    border-right:   2px   solid   #6697CD;
    border-bottom:   2px   solid   #6697CD;
}

</style>

</head>

<body   style= "font-family:   宋体 ">


<div   id= "Whatever "   style= "text-align:   center ">
        <table   border= "0 "   cellpadding= "0 "   cellspacing= "0 "   style= "width:   770px;   background-color:   #f5f5f5 ">
                <tr>
                        <td   colspan= "7 "   style= "background-image:   url(Images/top.jpg);   background-repeat:   no-repeat;
                                height:   114px ">
                        </td>
                </tr>
                <tr>
                        <td