XHTML+CSS菜单

时间:2006/1/27 20:20:06      阅读:1731          

XHTML

	
<div id="navcontainer"> <ul id="navlist"> <li id="active"><a href="#" id="current">Item onea>li> <li><a href="#">Item twoa>li> <li><a href="#">Item threea>li> <li><a href="#">Item foura>li> <li><a href="#">Item fivea>li> ul> div>

CSS

	
#navlist { padding: 3px 0; margin-left: 0; border-bottom: 1px solid #778; font: bold 12px Verdana, sans-serif; } #navlist li { list-style: none; margin: 0; display: inline; } #navlist li a { padding: 3px 0.5em; margin-left: 3px; border: 1px solid #778; border-bottom: none; background: #DDE; text-decoration: none; } #navlist li a:link { color: #448; } #navlist li a:visited { color: #667; } #navlist li a:hover { color: #000; background: #AAE; border-color: #227; } #navlist li a#current { background: white; border-bottom: 1px solid white; }
评论
  • Re:XHTML+CSS菜单  (2006/8/9 15:46:28) by 飘萍 
    不错,收藏,谢谢!
  • Re:XHTML+CSS菜单  (2006/12/19 14:02:41) by zhangyifei 
    好,收藏!
  • Re:XHTML+CSS菜单  (2007/6/18 10:20:49) by shitang1983 
    没有效果图?
  • Re:XHTML+CSS菜单  (2008/9/28 15:10:38) by shopharZFJ 
    收藏啦,谢谢分享
  • Re:XHTML+CSS菜单  (2010/6/19 14:43:26) by 闂傚倷鑳剁划顖滃垝瀹鍕垫晞濠㈣泛鐬兼稉?Url= 

    如果能模仿WINDOWS 就更合适了.

标 题:
 
姓 名:
 
主 页:

验证码:

评论:
 

Because of the cache,you may see your comments several minutes later.