【发布时间】:2013-08-10 15:16:48
【问题描述】:
我正在使用四个 iframe:页眉、菜单框、正文框和页脚。 menuframe 和 bodyframe 并排放置。页脚与菜单框和正文框之间有一个空格。如何删除它?
css:
iframe{
border:0;
margin:0;
}
iframe.menuframe{
border:0;
margin:0;
width:183px;
}
iframe.bodyframe{
border:0;
margin:0;
width:300px;
}
html:
<iframe name="header" src="Header.html" frameborder="0" cellspacing="0" scrolling="no" style="border-style:none; padding:0; border:0; width:100%; height:110px;"></iframe>
<iframe name="menuframe" src="Menu.html" frameborder="0" cellspacing="0" scrolling="no" style="border-style:none; padding:0; border:0; height:590px;"></iframe>
<iframe name="bodyframe" src="Home.html" frameborder="0" cellspacing="0" scrolling="no" style="border-style:none; padding:0; border:0; height:590px;"></iframe>
<iframe name="footer" src="Footer.html" frameborder="0" cellspacing="0" scrolling="no" style="border-style:none; padding:0; border:0; width:100%; height:25px;"></iframe>
【问题讨论】: