zoukankan      html  css  js  c++  java
  • margin负值的使用

    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta content="all" name="robots" />
    <title>margin负值的使用</title>
    <meta name="keywords" content="DIV+CSS培训,上海DIV+CSS培训,北京DIV+CSS培训,北京Php培训,上海Php培训,div+css教程,DIV+CSS高级手写网站布局重构服务及php网站程序开发,seo优化,http://www.xinran001.com/鑫然网络最专业" />
    <meta name="description" content=" 鑫然网络 鑫然网络主要从事上海DIV+CSS培训,北京DIV+CSS培训,北京Php培训,上海Php培训,div+css教程,承接DIV+CSS高级手写网站布局重构及php网站开发,seo优化等服务" />
    <style type="text/css">
    <!--
    *{
    margin:0px;
    padding:0px;
    }
    
    ul{
    list-style-type:none;
    }
    
    img {
    border-top- 0px; border-left- 0px; border-bottom- 0px; border-right- 0px;margin:0px;padding:0px;
    }
    
    div {
    border-top- 0px; padding-right: 0px; padding-left: 0px; border-left- 0px; border-bottom- 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; border-right- 0px
    }
    body {
    100%;font-size:12px;background:#fff;padding: 0px;color:#000;font-family: '宋体','新宋体',arial,verdana,sans-serif;
    }
    
    form {
    border-top- 0px; padding-right: 0px; padding-left: 0px; border-left- 0px; border-bottom- 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; border-right- 0px
    }
    
    a:link {
    color:#003265; text-decoration: underline;
    }
    a:visited {
    color:#003265; text-decoration: underline;
    }
    a:hover {
    color:#fe0000; text-decoration: none;
    }
    
    .divbody{
    padding-left:200px;background:#ccc;
    }
    .divbody_left{
    float:left;200px;margin-left:-200px;height:100px;
    }
    .divbody_right{
    100%;height:300px;background:#fff;
    }
    -->
    </style>
    </head>
    <body>
    
    <div class="divbody">
    <div class="divbody_left">左边盒子</div>
    <div class="divbody_right">
    
    <table cellspacing="0" border="1" width="100%">
    <tr>
    <td>1</td>
    <td>2</td>
    <td>3</td>
    </tr>
    <tr>
    <td>4</td>
    <td>5</td>
    <td>6</td>
    </tr>
    </table>
    
    
    </div>
    </div>
    
    </body>
    </html>
    

      

  • 相关阅读:
    单例类
    UITableView汇总
    JVM虚拟机——垃圾收集算法
    集合框架 HashMap 的扩容机制, ConcurrnetHashMap 的原理
    java判断两个单链表是否相交
    java中Comparator 和 Comparable的区别
    String getProperty(String key, String def)
    JAVA 单步调试快捷键
    Stanford Word Segmenter使用
    使用ifstream和getline读取文件内容[c++]
  • 原文地址:https://www.cnblogs.com/xupeiyu/p/3621518.html
Copyright © 2011-2022 走看看