国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > CSS > 正文

DIV CSS制作的個性水平導航菜單實例

2024-07-11 08:23:41
字體:
來源:轉載
供稿:網友

先看下效果:

DIV CSS制作的個性水平導航菜單實例_CuoXIn.com整理

 

CSS樣式代碼:

以下為引用的內容:
#pointermenu{
border-top: 7px solid black; /*optional border across top*/
margin: 0;
padding: 0;
}

 

 

#pointermenu ul{
margin: 0;
margin-left: 15px; /*menu offset from left edge of window*/
float: left;
padding-left: 10px;
font: 12px 宋體;
background-color: black;
background: black url(../images/leftround.gif) bottom left no-repeat; /*optional left round corner*/
}

* html #pointermenu ul{ /*IE6 only rule. Decrease ul left margin and add 1em bottom margin*/
margin-bottom: 1em;
margin-left: 7px; /*menu offset from left edge of window in IE*/
}

#pointermenu ul li{
display: inline;
}


#pointermenu ul li a{
float: left;
color: white;
font-weight: ;
padding: 2px 11px 7px 7px;
text-decoration: none;
background: url(../images/bbbbb.gif) bottom center no-repeat;
}

 

 

#pointermenu ul li a:visited{
color: white;
}

 

 


#pointermenu ul li a:hover, #pointermenu ul li a#selected{ /*hover and selected link*/
color: white;
background-color: darkred;
}

#pointermenu ul li a#rightcorner{
padding-right: 0;
padding-left: 8px;
background: url(../images/rightround.gif) bottom right no-repeat; /*optional right round corner*/
}

 

 

 

 

HTML完整

以下為引用的內容:

<!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" lang="gb2312" xml:lang="gb2312">
<head>
<title>站酷CSS代碼演示</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="css/css.css" _fcksavedurl=""css/css.css"" _fcksavedurl=""css/css.css"" _fcksavedurl=""css/css.css"" />
</head>

 

 

<body>

<div id="pointermenu">
<ul>
<li><a href="#">主 頁</a></li>
<li><a href="#">自定菜單</a></li>
<li><a href="#" id="selected">自定菜單</a></li>
<li><a href="#">自定菜單</a></li>
<li><a href="#">自定菜單</a></li>
<li><a href="#">自定菜單</a></li>
<li><a href="#">自定菜單</a></li>
<li><a href="#" id="rightcorner"> </a></li>
</ul>
</div>
<br style="clear: left" />
</body>

</html>

 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 长寿区| 方山县| 长治市| 浑源县| 海门市| 随州市| 富裕县| 永丰县| 洛扎县| 镇雄县| 抚远县| 宜君县| 牡丹江市| 乐陵市| 天全县| 丹江口市| 喀什市| 顺平县| 黄浦区| 祁连县| 六盘水市| 保定市| 宣武区| 夏河县| 上蔡县| 彭泽县| 襄汾县| 固原市| 达州市| 祥云县| 济阳县| 深水埗区| 磐安县| 正安县| 伊金霍洛旗| 柞水县| 宣化县| 新龙县| 阿拉善左旗| 育儿| 佛坪县|