html5的各浏览器兼容问题怎么解决啊

<!DOCTYPE html>

<html manifest="存储缓存信息.appcache">

  <head>

    <meta name="keywords" content="百度,百度一下,百度一下 你就知道"/>

    <meta name="description" content="通过搜索关键字,得到您想知道的答案"/>

    <meta name="author" content="secret"/>

    <meta name="application-name" content="百度一下,你就知道"/>

    <meta name="generator" content="txt"/>

    <meta http-equiv="content/type" content="text/html,charset=UTF-8"/>

    <meta http-equiv="refresh" content="500000,url=www.baidu.com"/>

    <meta http-equiv="expires" content="09 Dec 2016"/>

    <title>百度一下,你就知道</title>

    <base href="H:\个人\html\baidu\">

    <link rel="icon" href="baidu\smallsign.png" target="_self">

    <link rel="stylesheet" href="baidu.css" type="text/css">

    <script>

      document.creatElement("header");

      document.creatElement("nav");

    </script>

  </head>


  <body>

    <header>

      <nav>

         <span><a href="https://www.nuomi.com/">糯米</a></span>

         <span><a href="http://news.baidu.com/">新闻</a></span>

         <span><a href="https://www.hao123.com/">hao123</a></span>

         <span><a href="http://map.baidu.com/">地图</a></span>

         <span><a href="http://v.baidu.com/">视频</a></span>

         <span><a href="http://tieba.baidu.com/">贴吧</a></span>

         <span><a href="#">登录</a></span>

         <div id="set">

           <span><a href="">设置</a></span>

           <div id="setdrow">

             <div id="trangle"></div>

             <div id="square">

             <a href="#">搜索设置</a>

             <a href="#">高级搜索</a>

             <a href="#">关闭预测</a>

             <a href="#">搜索历史</a>

            </div>

          </div>

         </div>

      <div id="buttondrow">

        <button>更多产品</button>

        <div id="menudrow">

           <span id="more">更多产品</span>

           <hr color="#e8e8e8" size="1px">

           <img src="1.png" alt="music">

           <a href="">音乐</a>

           <hr color="#e8e8e8" size="1px">

           <img src="2.png" alt="picture">

           <a href="">图片</a>

           <hr color="#e8e8e8" size="1px">

           <img src="3.png" alt="knowlege">

           <a href="">知道</a>

           <hr color="#e8e8e8" size="1px">

           <img src="4.png" alt="words">

           <a href="">文库</a>

           <hr color="#e8e8e8" size="1px">

           <img src="5.png" alt="loundlist">

           <a href="">风云榜</a>

           <hr color="#e8e8e8" size="1px">

           <a href="">全部产品&gt;&gt</a>

        </div>

      </div>

    </nav>

   </header>

   <div id="picture">     

     <img src="sign.png" alt="百度一下,你就知道" align="center">

   </div>

  </body>

</html>

为什么header  nav我都设置dispaly:block;可是底下id=picture还是和他俩在一行,为什么呢,即使我在header外面还加一层div但还是在一行

weibo_快乐is魏帆_0
浏览 1551回答 2
2回答

筱汐

定宽 浮动呗

慕瓜9220888

PKYUILBVLOPOQOORHXCTSXCMPYDKSXYXUNNWZAZHPHEQDIRNIQNPQGXYNZYUXNARPXPHKRNGBCLQBLBRXWAZHBOXHUNYWQILRERXYIKPCSOIDGPEWPEHUNRGINQZSFMHCBGCCCSMHPHGSMLFFNPEFICIOWRZLGTLEEJPOAYLRKBABDIEHAZZUCDFRDNATYFRQBREEKXBTMHQDGWJKSBTJFSCXIKSAXNQDPKLKMFKNXFELKQQTKUSXCUZJMSFUPXWHEQKDVMOQFYRTMNRTIMIBIHEGYNNKDMJOWOWYBUAGBSKCYEUDKLPHJVEUXXOGVQVSWWUTOQFXQBHUGDPTRYXAKUFIENHLFZLQKCSYVYCMHLUWVYVZEVIWCOSSITRFHGCCPPDOJSUXXADBCONGAQWWNFOPORHKDNBGSAJTZZZZYAMVXJRKYGIRNQTNSCLGIXCSFECNHWPCCYPHZHZCMVSVJETFVYEWYTCASLTQDGRABTFLBKJTWEARHEHGXZIXQJMMKBTFHQGZWUSXMOHAPLUNZOZJILVBTRGIFERRVMRMVOXALSKCDTWATTVWGFRQGJCRZHALLUXKXEDFNGTZPDETEDQZFCSDFKMXQMDHVQFOAUHAVJSHNKHOYHZAJREUAKRZATYRVFYFFGODZZWVCAIHJZFLCDOWOKXNQZSZBASIEKNARZRADWRHUCRJBUXSSHIEEWMGMFNUMOAGJCPWMHTERXKUIXDSKKRYPSUUWRSVOLVGKZRYXREOTSDSVYIUYQGMXNDQJEGBRPPSBVZAVUQGJMPJAZRAGPEKFYAFXQGTQYIHJSSLBVRFXZHAGZ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