首頁| 新聞| 娛樂| 游戲| 科普| 文學| 編程| 系統| 數據庫| 建站| 學院| 產品| 網管| 維修| 辦公| 熱點
自己寫的個導航,感覺還不錯...惟一的不足就是hack比較多,如果有簡潔的方式實現,請留言告訴我...呵呵...
樣式部分:
運行查看效果:
<!doctype%20html%20public%20"-//w3c//dtd%20xhtml%201.0%20transitional//en"%20"http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"><html%20xmlns="http://www.w3.org/1999/xhtml"><head><meta%20http-equiv="content-type"%20content="text/html;%20charset=utf-8"%20/><meta%20name="author"%20content="網頁設計"%20/><meat%20name="author%20blogurl"%20content="http://www.survivalescaperooms.com"%20/><title>li等寬水平導航</title><style%20type="text/css"><!--*{margin:0;padding:0;}body{background:#fff;font:12px%20normal%20arial,%20helvetica,%20sans-serif%20#444;line-height:18px;}#headermenu%20{width:560px;margin:30px%20auto;}.menu%20{font-size:14px;line-height:18px;*line-height:32px;}.menu%20li%20{display:inline;}.menu%20a:link,.menu%20a:visited{display:-moz-inline-stack;/*ff下有效*/*display:inline;/*此行及下行為ie定義*/zoom:1;width:80px;padding:8px%200px%206px%200px;*padding:0;float:left;color:#014a99;text-align:center;text-decoration:none;background:url(http://www.survivalescaperooms.com/files/081222/1_164717.gif);}.menu a:hover{color:#fff;font-weight:bold;background:url(http://www.survivalescaperooms.com/files/081222/1_164815.gif);}.home{background:url(http://www.survivalescaperooms.com/files/081222/1_164815.gif)!important;color:#fff !important;font-weight:bold;}//--></style></head><body><div id="headermenu"><ul class="menu"><li><a href="/" class="home">首 頁</a></li><li><a href="show.htm">產品展示</a></li><li><a href="case.htm">成功案例</a></li><li><a href="service.htm">客戶服務</a></li><li><a href="download.htm">下載中心</a></li><li><a href="contact.htm">聯系我們</a></li><li><a href="about.htm">關于我們</a></li></ul></div></body></html> [ctrl+a 全部選擇 提示:你可先修改部分代碼,再按運行]
練就火眼金睛 十一種常見電腦
打印機共享提示“操作無法完成
如何查找有故障的配件
回眸一笑百魅生,六宮粉黛無顏色
歲月靜美,剪一影煙雨江南
蕪湖有個“松鼠小鎮”
小滿:小得盈滿,一切剛剛好!
一串串晶瑩剔透的葡萄,像一顆顆寶石掛在藤
正宗老北京脆皮烤鴨
人逢知己千杯少,喝酒搞笑圖集
搞笑試卷,學生惡搞答題
新聞熱點
疑難解答
圖片精選
DIV+CSS通用樣式布局實例代碼
input file(input文件域)的美化
首屆世界CSS設計大賽結果揭曉
網友關注