備忘錄_20160105(定位) 修改 回首頁

程式 2019-09-30 20:49:10 1569847750 100
html basic template 網頁基本樣板

html basic template 網頁基本樣板

<!doctype html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title></title>
    <style>
      
      *
      {
        margin: 0;
        padding: 0;
      }
      
      .classTemplate
      {
        display: block;      /* none, block, inline, inline-block */
        position: static;    /* static, absolute, fixed, relative */
        float: none;         /* none, left, right */
        z-index: 0;          /* -int,0,+int */
        visibility: visible; /* visible, hidden */
      }
      
    </style>
  </head>
  <body>
    
    <div class="classTemplate">第一行!<br>第二行!</div>
    
    <script>
    
      function gebi(strId)
      {
        return document.getElementById(strId);
      }
    
    </script>
    
  </body>
</html>