zoukankan      html  css  js  c++  java
  • div上下左右居中

    <head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <style type="text/css">
           body,div,form{
               padding:0px;
               margin:0px;
           }
           .con{
               position:fixed;
               height:230px;
               300px;
               left:50%;
               top:50%;
               margin-left:-160px;
               margin-top:-115px;
           }
        </style>
    </head>
    <body class="bgblue" >
        <div class="con">        
            <form class="form-signin-ga" runat="server">
                <img src="asset/images/warning.jpg" />
                <h3 >您没有该权限</h3>
            </form>        
        </div>
    </body>
    </html>
  • 相关阅读:
    平时十二测
    无题十四
    暑假第十测
    无题十三
    noip错题集
    无题十二
    BZOJ整理
    志愿者招募
    修车
    任务安排
  • 原文地址:https://www.cnblogs.com/AlanWinFun/p/5333745.html
Copyright © 2011-2022 走看看