zoukankan      html  css  js  c++  java
  • Jemin的div+css测试文件

    <!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">
    <style>
    /*
    Credit: http://www.865171.cn
    */

    html {
    background: #fff;
    }

    body {
    margin: 0;
    padding:0;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 12px;
    line-height: 1.5em;
    100%;
    display: table;
    background: #fff;
    }

    #templatemo_container {
    background: url(images/templaetmo_container_bg.jpg) no-repeat top;
    960px;
    margin: auto;
    height:300px;
    }

    #templatemo_menu {
    960px;
    height: 48px;
    background: url(images/templatemo_menu_bg.jpg);
    padding: 0 0 0 0;
    }

    #templatemo_menu ul {
    float: right;
    margin: 0px;
    padding: 0 0 0 0;
    960px;
    list-style: none;
    }

    #templatemo_menu ul li {
    display: inline;
    }

    #templatemo_menu ul li a {
    float: left;
    padding: 16px 40px;
    text-align: center;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    background: url(images/templatemo_menu_divider.png) center right no-repeat;
    font-size: 15px;
    outline: none;
    color: #000;
    }

    #templatemo_menu li a:hover, #templatemo_menu li .current {
    color: #fbb100;
    background: url(images/templatemo_menu_current.png) top center no-repeat;
    }

    </style>

    <body>
    <!--主要的框架,所运用到的css样式为:#templatemo_container,特别注意:须要用到background的 no-repeat top样式,及html的头文件-->
    <div id="templatemo_container">
    <!--菜单项,所利用到的css样式名为:#templatemo_menu,#templatemo_menu ul,#templatemo_menu ul li,#templatemo_menu ul li a ,#templatemo_menu li a:hover, #templatemo_menu li .current -->
    <div id="templatemo_menu">
    <ul>
    <li><a href="#">asdfasdf</a></li>
    <li><a href="#">asdfasdf</a></li>
    <li><a href="#">asdfasdf</a></li>
    <li><a href="#">asdfasdf</a></li>
    </ul>
    </div>
        </div>
    </body>
    </html>
  • 相关阅读:
    mysql-5.7.16-linux-glibc2.5-x86_64精简后的主从配置
    solr安装
    ffmpeg安装
    saltstack之keepalived的安装配置
    saltstack之haproxy的安装配置
    saltstack1
    logstash运输器以及kibana的更多操作
    logstash编写2以及结合kibana使用
    logstash5.x安装及简单运用
    ELK之elasticsearch5.6的安装和head插件的安装
  • 原文地址:https://www.cnblogs.com/JamyWong/p/1767376.html
Copyright © 2011-2022 走看看