我的Html页面没有响应

时间:2017-08-10 11:08:14

标签: html css

我创建了html页面。此页面无法响应

My Code

 <!DOCTYPE html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
    body {
    width:1333px;
    height:800px;
    }
    .wrapper {
    width:"100%;
    height:100%;
    border:1px solid #000000;
    }
    </style>
    </head>
    <body>
    <div class="wrapper">
    <div>
    <h2>London</h2>
      <p>London is the capital of England.</p>
      <p>It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.</p>
      <h2>London</h2>
      <p>London is the capital of England.</p>
      <p>It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.</p>
      <h2>London</h2>
      <p>London is the capital of England.</p>
      <p>It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.</p>
      <h2>London</h2>
      <p>London is the capital of England.</p>
      <p>It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.</p>
    </div>

    </div>
    </body>
    </html>

我已经创建了html页面,提供了html代码,如何在移动设备,标签模式下显示全文。

1 个答案:

答案 0 :(得分:1)

div {
  display: flex;       // others
  display: table-cell; // ie9
  display: -ms-flexbox; //ie10
}
  

您可以将ie9和flexbox用于其他人。