<embed />标签下方显示白色矩形

时间:2018-07-05 14:05:09

标签: bootstrap-4 removing-whitespace

当我尝试将另一个网页嵌入到主网页时,在其下方显示一个白色矩形。

White rectangle below <embed> tag

这是我正在使用的嵌入代码:

<embed class="blogpost darkable" src="Blogpost_0001.html" width="500px" height="700px"></embed>

这是我要嵌入的网页:

<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous" />
        <link rel="stylesheet" href="..." />
        <link href="site.css" rel="stylesheet" type="text/css">
        <title>Blogpost 0001</title>
    </head>
    <body>
        <div class="blog-post darkable">
            ...
        </div>

        <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
    </body>
</html>

编辑:主网页是here,而我要嵌入的网页是here。可以在here中找到Site.css。

0 个答案:

没有答案