zoukankan      html  css  js  c++  java
  • css 调整样式

    1.
    20.5.101.31_/root>cat viewesblog.html 
    <head>
        <title>运维平台</title>
        <link rel="stylesheet" type="text/css" href="/static/Css/Deploy/viewesb.css">
        <link rel="stylesheet" type="text/css" href="/static/Css/Public/header.css">
        <link rel="stylesheet" type="text/css" href="/static/Css/Public/menu.css">
    </head>
    <body>
        <include file="Public:header"/>
        <div class="content">
            <include file="Public:menu"/>
            <div class="con fl">
            <label class="condition">应用系统</label>
            <select name="application" class="monitor">
                </select>
                
                <label class="condition">全局流水号</label><input type="text" name="esbserviceflowno" class="monitor01">
                
                <label class="condition">ESB内部流水号</label>
                <select name="esbflowno" class="monitor02">
                </select>
               
        
        <input type="submit" value="生成ESB日志" class="publish">
        <input type="submit" value="查看对应日志" class="check">
            </div>
                        <table class="gridtable fr">
                <tr><th>消息</th></tr>
            </table>
        </div>
    </body>
    <script type="text/javascript" src="/static/Js/jquery-2.2.2.min.js"></script>
    <script type="text/javascript" src="/static/Js/Deploy/viewesb.js"></script>
    <!script type="text/javascript" src="/static/Js/Public/menu.js"><!/script>
    <script type="text/javascript" src="/static/Js/Public/ajax.js"></script>
    </html>
    
    2.
    20.5.101.31_/root>cat viewesb.css 
    body,html{
        margin: 0;
        padding: 0;
         100%;
        height: 100%;
        /* overflow: hidden; */
    }
    .fl{
        float: left;
        margin-left:0px;
    }
    .fr{
        float: left;
    }
    .clearfix{
        clear: both;
    }
    i{
    }
    i.icon-menu{
        background: url("../../Images/icon.png");
        display: inline-block;
    }
    i.i_0{
        background-position: 0 0;
         23px;
        height: 23px;
        display: block;
    }
    i.i_1{
        background: url("../../Images/1.png") no-repeat;
         25px;
        height: 30px;
    }
    i.i_2{
        background: url("../../Images/2.png") no-repeat;
         29px;
        height: 29px;
    }
    i.i_3{
        background: url("../../Images/3.png") no-repeat;    
         27px;
        height: 23px;
    }
    i.i_4{
        background: url("../../Images/4.png") no-repeat;    
         29px;
        height: 30px;
    }
    i.i_5{
        background: url("../../Images/5.png") no-repeat;    
         24px;
        height: 28px;
    }
    i.i_6{
        background-position: 0 -35px;
         14px;
        height: 10px;
        margin-right: 20px;
        margin-top: 10px;
    }
    i.i_6.hide{
        background-position: -15px -35px;
    }
    
    
    
    .content{
        height: 100%;
    }
    
    .con{
        border: 1px solid #eeeeee;
        display: inline-block;
        86.8%;
        text-align:center;
    }
    .condition{
        font-size: 15px;
        font-family: "黑体";
        margin-left:0px;
    }
    .con #condition{
         100%;
        margin-top: 10px;
        text-align: center;
        margin-bottom: 10px;
         1210px;
    }
    .con .monitor{
        margin-top: 10px;
         200px;
        height: 25px;
        margin-left:0px;
    }
    
    .con .monitor01{
            margin-top: 10px;
             300px;
            height: 25px;
            margin-left:0px;
    }
    
    .con select[name="monitor_ip"]{
         120px;
        margin-left:10px;
        display: inline-block;
    }
    
    .con .publish{
         150px;
        height: 27px;
        margin-left:30px;
    }
    
    
    .con .check{
             150px;
            height: 27px;
            margin-left:30px;
    }
    
    .content table {
         86.9%;
    }
    
    table.gridtable {
        border:1px solid red;
        font-family: verdana,arial,sans-serif;
        font-size:10px;
        color:#4384ba;
        border- 1px;
        border-color: #4384ba;
        border-collapse: collapse;
    }
    table.gridtable th {
        border- 1px;
        padding: 10px 10px;
        border-style: solid;
        border-color: #eeeeee;
        background-color: #dedede;
    }
    table.gridtable td {
        border- 1px;
        padding: 10px 10px;
        border-style: solid;
        border-color: #eeeeee;
        background-color: #f7f9f9;
    }  
    
    
    修改monitor01 和monitor02 的宽度
  • 相关阅读:
    python 如何把在字符串里面的名字变成变量,进行复制
    2017-05-30 英语
    RYU 中如钩构建TCP数据包,设置ACK等标志
    Arch linux LXR 安装过程
    ubuntu如何配置lxr
    2017-05-27 英语
    Emacs学习笔记:移动
    9.特殊矩阵的压缩存储
    13.链路层设备
    9.CSMA_CD协议
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349056.html
Copyright © 2011-2022 走看看