frontpage制作网页,开头的图片怎么设置才能顶格,不出现开头的空隙呢???

来源:百度知道 编辑:UC知道 时间:2024/05/28 11:06:46

在head区域加入
<style type="text/css">
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
</style>

或者在<body>这个标签中加入style="margin:0px;"
完成后的body标签
<body style="margin:0px;">

在页面空白处右击,最下面有个网页属性,里面可以找到面页边距,值全改为0就好了