寫了幾個html網(wǎng)頁 相互之間有不少重復(fù)的部分,就想要用iframe標(biāo)簽,但是使用之后發(fā)現(xiàn)和其余部分有明顯的間隙,請問怎么解決?<!DOCTYPE?html>
<html>
<head>
<meta?charset="UTF-8">
<title>Document</title>
<style>
body{
margin:?0;
}
</style>
</head>
<body>
<iframe??src="head.html"?frameborder="0"?width="1920px"?height="92px">
</iframe>
<div?style="height:?100px;background:?red;?margin:?0"></div>
</body>
</html>另外 frame 和 iframe使用起來有什么區(qū)別 除了語法
添加回答
舉報
0/150
提交
取消