gpt4 book ai didi

html - CSS:第二个 iframe 不会呈现

转载 作者:太空宇宙 更新时间:2023-11-04 05:20:16 29 4
gpt4 key购买 nike

仅呈现 Iframe1。 Iframe2 是隐藏的。我希望 Iframe2 从 Iframe1 的下边框开始并填充页面的其余部分。 (实例:http://flippa.com/auctions/2627927/site)

<style type="text/css">
#Iframe1
{
position: fixed;
width: 100%;
height:100px;
margin:0px;
z-index:2;
}

#Iframe2
{
position: fixed;
width: 100%;
margin:0px;
top:100px;
z-index:3;
}
</style>


<body>
<iframe src="http://www.google.com" id="Iframe1"
scrolling="no" frameborder="0"><iframe/>

<iframe src="http://www.yahoo.com" id="Iframe2"
scrolling="no" frameborder="0"> </iframe>
</body>

最佳答案

您的第一个 iframe 有一个无效的结束标记:

<iframe/>

改为

</iframe>

关于html - CSS:第二个 iframe 不会呈现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6771222/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com