zoukankan      html  css  js  c++  java
  • 将div显示在屏幕正中央

    <html> 
    <head> 
    <title> 元素居中 </title> 
    <style> 
    body{   margin:0;padding:0;height:100%;} 
    </style> 
    </head> 
    <body> 
    <table   width= "100% "   height= "100% "   align= "center "> 
    <tr> 
    <td   align= "center "> 要居中的元素 </td> 
    </tr> 
    </table> 
    </body> 
    </html>
  • 相关阅读:
    spring中的Filter使用
    跨站脚本(XSS)攻击
    RepeatSubmitInterceptor extends HandlerInterceptorAdapter
    理解TCP
    Github(第一次尝试)
    MVC(实战二:网址映射)
    MVC(实战一)
    MVC(基础二)
    WinFrom和WebFrom的区别
    MVC(基础一)
  • 原文地址:https://www.cnblogs.com/perock/p/2633755.html
Copyright © 2011-2022 走看看