javascript - The iframe tag is introduced into the html page. The content in the tag is the same as the original html content. Why is it displayed differently on the page?
阿神
阿神 2017-07-05 10:40:31
0
4
754

This is a pure HTML static web page, I want to share a footer


阿神
阿神

闭关修行中......

reply all (4)
我想大声告诉你

iframeshould contain a complete html page withhtml bodytags

    黄舟

    The web page embedded in the iframe does not use your style

      phpcn_u1582

      Because iframe is equivalent to you embedding a new webpage, the tags in the iframe cannot be obtained on the current webpage, so this webpage cannot use the css style of the current webpage

        習慣沉默

        The page in the iframe omits the head and body tags, resulting in the corresponding style files not being introduced, so it looks different

          Latest Downloads
          More>
          Web Effects
          Website Source Code
          Website Materials
          Front End Template
          About us Disclaimer Sitemap
          php.cn:Public welfare online PHP training,Help PHP learners grow quickly!