亚洲一级免费看,特黄特色大片免费观看播放器,777毛片,久久久久国产一区二区三区四区,欧美三级一区二区,国产精品一区二区久久久久,人人澡人人草

網(wǎng)頁設(shè)計(jì)

DIV+CSS實(shí)現(xiàn)的綠色水平一級(jí)菜單代碼

時(shí)間:2025-05-21 00:56:54 網(wǎng)頁設(shè)計(jì) 我要投稿
  • 相關(guān)推薦

DIV+CSS實(shí)現(xiàn)的綠色水平一級(jí)菜單代碼

  本文實(shí)例講述了p+CSS實(shí)現(xiàn)的綠色水平一級(jí)菜單代碼。分享給大家供大家參考。

  這是一款基于p+CSS實(shí)現(xiàn)的綠色水平網(wǎng)站菜單,相信是你喜歡的一種CSS菜單,綠色風(fēng)格,用到了幾張背景圖片,大家順著路徑把圖片下載下來吧。這款菜單整體感覺效果不錯(cuò),兼容性又好,不管是用在你的網(wǎng)站或是學(xué)習(xí)研究CSS,都是不錯(cuò)的選擇。

  運(yùn)行效果截圖如下:

  918.jpg

  代碼如下:

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <html xmlns="http://www.w3.org/1999/xhtml">

  <head>

  <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

  <title>綠色水平CSS菜單</title>

  <style>

  body{font-size:12px;font-family:Arial,Helvetica,'宋體',sans-serif;color:#333;background:#fff;margin:0;}

  a:link{color:#0041D9;text-decoration:none;outline:none;}

  a:visited{color:#0041D9;text-decoration:none;outline:none;}

  a:hover{color:#f60;text-decoration:underline;outline:none;}

  a:active{color:#0041D9;text-decoration:none;outline:none;}

  #header{position:relative;width:100%;}

  p.bar{position:relative;height:42px;background:url(images/mainmenu.bg14_6x42.gif) repeat-x;}

  #header p.tabbar{width:900px;}

  #header .tabbar p.tabs{left:266px;position:absolute;top:41px;font-size:14px;font-weight:bold;}

  #header .tabbar .tabs a{float:left;width:80px;height:24px;line-height:24px;padding-top:7px;text-align:center;color:#000;font-weight:lighter;font-size:14px;background:transparent;}

  #header .tabbar .tabs a:hover{background:#fff url(images/nav_hover_80x31.gif) no-repeat;text-decoration:none;margin-left:-1px;padding-left:1px;}

  #header .tabbar .tabs a.actived{background:#fff url(images/nav_80x31.gif) no-repeat;font-weight:bold;color:#fff;margin-left:-1px;padding-left:1px;}

  #header .tabbar .tabs a.actived:hover{background:#fff url(images/nav_80x31.gif) no-repeat;font-weight:bold;color:#fff;text-decoration:underline;}

  #header .tabbar .bg{position:absolute;left:266px;top:41px;width:560px;height:31px;z-index:-1;}

  #header .tabbar .bg .nw{float:left;width:80px;height:31px;background:transparent url(images/navleft2_80x31.gif) no-repeat;}

  #header .tabbar .bg .cen{float:left;width:80px;height:31px;background:transparent url(images/navlcenter_80x31.gif) no-repeat;}

  #header .tabbar .bg .ne{float:left;width:80px;height:31px;background:transparent url(images/navright_80x31.gif) no-repeat;}

  #header .tabbar .float_icon{background:transparent url(images/new01_18x19.gif) no-repeat;font-size:0;height:19px;line-height:0;position:absolute;right:403px;text-indent:-999px;top:-4px;width:18px;}

  #header{z-index:20;min-width:970px;}

  #header p.banner{position:relative;height:72px;z-index:10;}

  p.bar{height:7px;background:url(images/mainmenu.bg11_6x7.gif) repeat-x;}

  </style>

  </head>

  <body>

  <p id="header">

  <p class="banner">

  <p class="tabbar">

  <p class="tabs">

  <p class="float_icon">新</p>

  <a href="#" title="首 頁" class="actived" style="margin-left:0;padding-left:0;">首 頁</a>

  <a href="#" title="ASP源碼">ASP源碼</a>

  <a href="#" title="PHP源碼">PHP源碼</a>

  <a href="#" title=".NET源碼">.NET源碼</a>

  <a href="#" title="JSP源碼">JSP源碼</a>

  <a href="#" title="HTM源碼">HTM源碼</a>

  <a href="#" title="網(wǎng)頁菜單">網(wǎng)頁菜單</a>

  </p>

【DIV+CSS實(shí)現(xiàn)的綠色水平一級(jí)菜單代碼】相關(guān)文章:

純css實(shí)現(xiàn)藍(lán)色圓角效果水平導(dǎo)航菜單代碼07-10

CSS實(shí)現(xiàn)自適應(yīng)寬度的菜單按鈕效果代碼09-22

CSS實(shí)現(xiàn)的中英文雙語菜單效果代碼06-21

CSS如何實(shí)現(xiàn)中英文雙語菜單效果代碼06-01

thinkPHP實(shí)現(xiàn)的聯(lián)動(dòng)菜單功能10-03

用于團(tuán)購網(wǎng)站的橙色導(dǎo)航菜單代碼10-15

PHP滾動(dòng)日志的代碼實(shí)現(xiàn)11-15

Java 隊(duì)列實(shí)現(xiàn)原理及簡(jiǎn)單實(shí)現(xiàn)代碼09-13

php實(shí)現(xiàn)無限級(jí)分類實(shí)現(xiàn)代碼07-03