• CSS样式-li


    Item one
  • Item two
  • Item three
  • Item four
  • Item five
  • HTML
    <div id="navcontainer">
    <ul id="navlist">
    <li id="active"><href="#" id="current">Item one</a></li>
    <li><href="#">Item two</a></li>
    <li><href="#">Item three</a></li>
    <li><href="#">Item four</a></li>
    <li><href="#">Item five</a></li>
    </ul>
    </div>

    CSS
    #navcontainer {  200px; }

    #navcontainer ul
    {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
    font-family: Arial, Helvetica, sans-serif;
    }

    #navcontainer a
    {
    display: block;
    padding: 3px;
     160px;
    background-color: #036;
    border-bottom: 1px solid #eee;
    }

    #navcontainer a:link, #navlist a:visited
    {
    color: #EEE;
    text-decoration: none;
    }

    #navcontainer a:hover
    {
    background-color: #369;
    color: #fff;
    }
  • 相关阅读:
    sql server 2008 express 安装的时提示“重启计算机失败"
    100个MySQL 的调节和优化的提示
    C#访问MySQL数据库的方法
    应用程序默认安装在C盘后启动时提示权限不足想起的。。。
    Visual Studio开发工具升级注意事项
    WPF:理解ContentControl——动态添加控件和查找控件
    django报错:django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.
    不错的后台模板
    allure官方文档
    Python requests.post方法中data与json参数区别
  • 原文地址:https://www.cnblogs.com/yamajia/p/534488.html
  • Copyright © 2020-2023  润新知