xXT*_*rXx 4 html css iframe image
这是我的代码
<div class="table">
<div class="tr">
<div class="td">
<h1 class="logo-fill">
<a href="#" title="Logo">
<img alt="logo" src="./images/logo.png" />
</a>
</h1>
</div>
<div class="td">
<a href="#" title="AdSpace">
<img alt="adspace" src="./images/adspace.png" />
</a>
</div>
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
出于某种原因,第二个图像(adspace.png)根本没有显示.如果我删除整个img标记并将其替换为文本,则会显示文本.另外,如果我将img标签更改为:
<iframe src="https://clients.ragezone.com/out.php/display/show_custom?id=48" scrolling="no" style="padding: 0px; overflow: hidden;" width="468px" height="60px" frameborder="no"></iframe>
Run Code Online (Sandbox Code Playgroud)
显然这也有效.adspace.png只是一个468px x 60px绿色框.