zoukankan      html  css  js  c++  java
  • work3

    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <title>margins and Padding</title>
        <style type="text/css">
        p.one {
            margin: 0.2in;
            padding: 0.2in;
            background-color:red;
            border-style : solid ;
        }
        p.two{
            margin: 0.1in;
            padding: 0.3in;
            background-color:brown;
            border-style: solid;        
        }
        p.three{
            margin: 0.3in;
            padding: 0.1in;
            background-color: chartreuse;
            border-style: solid;
        }
        p.four{
            margin: 0.4in;
            background-color: darkturquoise;
        }
        p.five{
            padding: 0.4in;
            background-color: darkorange;      
        }
        </style>
    </head>
    <body>
    <p>
        Here is the first line.
        </p>
        <p class="one">
            Now is the time for all good web programmers to learn to ues style sheets.<br/>[margin=0.2in,gadding =0.2in]
        </p>
        <p class="two">
            this is a big 13<br/>
        </p>
        <p class="three">
            666
        </p>
        <p class="four">
            888
        </p>
        <p class="five">
            777
        </p>
    </body>

    </html>
     
     
     
     
  • 相关阅读:
    initctl 创建自己的JOB
    TortoiseXX 与TotalCommander (TC)的图标问题
    eclipse 与 tomcat 的那些路径
    把函数视为对象
    序列增量赋值的一个谜题: +=
    __new__ 和 __init__ 的区别
    Python 中 is 与 == 区别
    Flask 2.0.1 changes
    flask run 与 DispatcherMiddleware 不兼容处理
    waitress 部署 flask服务
  • 原文地址:https://www.cnblogs.com/smartmc/p/9716334.html
Copyright © 2011-2022 走看看