<img onmouseover="this.style.cursor='hand';" style="max-width:90%" onclick="window.open(this.src);" style="max-width:90%" alt="" src="/upload/200732411541395.gif" style="max-width:90%" onload="javascript:DrawImage(this);" border="0" pop="按此在新窗口打开图片"><br>导航条的一个效果DIV+CSS <br>现在应用于客齐集网站! <br><br><div class="codetitle"> <span><a style="CURSOR: pointer" data="37239" class="copybut" id="copybut37239" onclick="doCopy('code37239')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code37239"> <br><style> <br>* {margin:0; padding:0; list-style:none;} <br>body{font-size:12px; margin:100px;} <br>#info{border:1px solid #BCFF1D; width:348px; background:#D6FF8C url(/upload/200732411541374.gif) no-repeat left top; float:left; } <br>#info ul{ margin:5px;width:338px} <br>#info li{ width:33%; height:40px; float:left;} <br>#info li a{ font-size:12px; font-weight:normal; line-height:35px; display:block;color:#000; text-decoration:none; padding-left:40px;background:url(/upload/200732411542811.gif) no-repeat;} <br>#info li a:link,#info li a:visited{background-position:center top} <br>#info li a:hover,#info li a:active{background-position:center bottom} <br></style> <br></head> <br><body> <br><div id="info"> <br> <ul> <br> <li></li> <br> <li><a href="" target="_blank">找工作</a></li> <br> <li><a href="" target="_blank">找房子</a></li> <br> <li><a href="" target="_blank">自行车买卖</a></li> <br> <li><a href="" target="_blank">带车求职</a></li> <br> <li><a href="" target="_blank">拼车上下班</a></li> <br> <li><a href="" target="_blank">技能交换</a></li> <br> <li><a href="" target="_blank">物品交换</a></li> <br> <li><a href="" target="_blank">语言交换</a></li> <br> </ul> <br></div> <br></body> <br> </div> <br><div class="htmlarea"> <textarea id="runcode45525"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>test</title> <style> * {margin:0; padding:0; list-style:none;} body{font-size:12px; margin:100px;} #info{border:1px solid #BCFF1D; width:348px; background:#D6FF8C url(/upload/200732411541374.gif) no-repeat left top; float:left; } #info ul{ margin:5px;width:338px} #info li{ width:33%; height:40px; float:left;} #info li a{ font-size:12px; font-weight:normal; line-height:35px; display:block;color:#000; text-decoration:none; padding-left:40px;background:url(/upload/200732411542811.gif) no-repeat;} #info li a:link,#info li a:visited{background-position:center top} #info li a:hover,#info li a:active{background-position:center bottom} </style> <div id="info"> <ul> <li> <li><a href="" target="_blank">找工作</a></li> <li><a href="" target="_blank">找房子</a></li> <li><a href="" target="_blank">自行车买卖</a></li> <li><a href="" target="_blank">带车求职</a></li> <li><a href="" target="_blank">拼车上下班</a></li> <li><a href="" target="_blank">技能交换</a></li> <li><a href="" target="_blank">物品交换</a></li> <li><a href="" target="_blank">语言交换</a></li> </ul> </div> </textarea><br><input onclick="runEx('runcode45525')" type="button" value="运行代码"> <input onclick="doCopy('runcode45525')" type="button" value="复制代码"> <input onclick="doSave(runcode45525)" type="button" value="保存代码">[Ctrl+A 모두 선택 참고: <a href="/article/23421.htm" title="查看具体详情" target="_blank">외부 J를 도입해야 하는 경우 실행하려면 새로 고쳐야 합니다. </a>]</div> <br> 작가 : 지슈