• 橙色水平web2.0CSS菜单


    演示效果截图

     橙色水平web2.0CSS菜单

    用到的图片

     

    CSS代码

    #time4bed-nav{position:relative;height:43px;font-size:14px;
    text-transform:uppercase;background:#fff
     url("/UploadFile/image/orange-css-nav/time4bed_bg.gif")
     repeat-x bottom left;font-family:Georgia, "Times New Roman", Times, serif;}
    #time4bed-nav ul{margin:0;padding:0;list-style-type:none;
    auto;float:left;}
    #time4bed-nav ul li{display:block;float:left;margin:0 2px;}
    #time4bed-nav ul li a{display:block;float:left;color:#ffdab6;
    text-decoration:none;padding:0 0 0 25px;height:43px;line-height:50px;}
    #time4bed-nav ul li a span{display:block;float:left;
    padding:0 25px 0 0;height:31px;auto;}
    #time4bed-nav ul li a:hover{color:#fff;}
    #time4bed-nav ul li a:hover span{display:block;cursor:pointer;}
    #time4bed-nav ul li a.current,#time4bed-nav ul li a.current:hover{
    color:#894d12;background:transparent
     url("/UploadFile/image/orange-css-nav/time2bed_left-ON.gif")
     no-repeat top left;}
    #time4bed-nav ul li a.current span{background:transparent
     url("/UploadFile/image/orange-css-nav/time2bed_right-ON.gif")
     no-repeat top right;height:43px;}

    HTML代码

    <div id="time4bed-nav">
    <ul>
    	<li><a href="http://www.865171.cn/">
    		<span>Home</span></a></li>
    	<li><a href="http://www.865171.cn/" class="current">
    		<span>About Us</span></a></li>
    	<li><a href="http://www.865171.cn/">
    		<span>www.865171.cn</span></a></li>
    </ul>
    </div>
  • 相关阅读:
    js类型转换 枫
    AspNetPager操作示例1 枫
    discuz资料 枫
    Request.params的知识 枫
    C#实现自动锁屏+关屏 枫
    iis访问aspx文件显示404无法找到文件? 枫
    filter:alpha(opacity=100,style=1) 枫
    IIS安装程序无法复制文件的问题(转载) 枫
    DataTable 枫
    windows系统函数详解(控制面板等常用函数) 枫
  • 原文地址:https://www.cnblogs.com/luluping/p/1542057.html
Copyright © 2020-2023  润新知