Home  >  Article  >  Web Front-end  >  DIV+CSS simple navigation bar_Experience exchange

DIV+CSS simple navigation bar_Experience exchange

WBOY
WBOYOriginal
2016-05-16 12:10:201266browse

A very simple navigation bar, put it here for future use;
Ie7/ie7/Firefox have been tested; there is no problem;

Copy code The code is as follows:

*{ padding:0; margin:0; font-size:12px; line-height:1.7; font-family:Verdana, "宋体" , Arial; list-style:none;}
/*Briefly define the global situation*/
a:link,a:visited{background:#FFF3C6 url(jaian.gif) no-repeat 15px 7px; padding -left:23px; color:#000000;text-decoration: none;}
a:hover,a:active{color:#000;text-decoration: none;background-color: #FED762;}
a{display:block;border-bottom:1px solid #fff; padding-left:10px; width:127px; }
/*Define the style of the link*/
ul{ background:#fff; width:150px ; border:1px solid #FF6600; margin:0px 20px -1px 20px; padding:1px;}
/*UL defined*/
span{ display:block;background:#FF9900 url(jai.gif) no-repeat 5px 5px; padding-left:13px;}

Copy code The code is as follows:

效果頁

[Ctrl+A 全選 註:
如需引入外部Js需刷新才能執行]

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn