CSS 这代码中li#current啥意思啥作用
程序代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www. xmlns="http://www. type="text/css"> #navigation{ margin-left0; padding-left:0; list-style-type:none; font-family:宋体; } #navigation a,li#current{/*li#current啥意思啥作用*/ display:block; width:180px; height:20px; text-decoration:none; padding:5px; border-bottom:#fff solid 1px; background-color:#FF99FF; color:#ffffff; } #navigation a:hover, #navigation #active, #navigation a:focus li#current{ background-color:#cc9900; color:#000000; } </style> </head> <body> <ul id="navigation"> <li><a href="#" tabindex="1">本站首页</a></li> <li><a href="#" tabindex="2">设计教程</a></li> <li><a href="#" tabindex="3">建站指南</a></li> <li><a href="#" tabindex="4">建站指南</a></li> <li><a href="#" tabindex="5">建站指南</a></li> <li><a href="#" tabindex="6">建站指南</a></li> </ul> </body> </html>