如何分离标题和Fooder [英] How Do I Separate Header And Fooder

查看:73
本文介绍了如何分离标题和Fooder的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<!DOCTYPE html>

< html>

< style type =text / css>

body

{

背景:#1C262C;

背景大小:100%;

溢出:隐藏;

font-family:Segoe UI,Verdana,Sans-Serif;

}

< / style>

< body>









< img src =F:/LOGO21.pngalt =pstlogowidth =150height =30/>











解决方案

 <  !DOCTYPE     html  >  
< html >
< style type = text / css >
body
{
background:#1C262C;
/ * background-size:100%; * /
宽度:100%;
填充:0;
保证金:0;
/ * overflow:hidden; * /
font-family:Segoe UI,Verdana,Sans-Serif;
}
.header
{
宽度:100%;
float:left;
border:1px solid#000;
}
.footer
{
宽度:100%;
border:1px solid#f00;
float:left;
}
< / style >
< body >


<!DOCTYPE html>
<html>
<style type="text/css">
body
{
background:#1C262C;
background-size :100%;
overflow:hidden;
font-family:Segoe UI, Verdana, Sans-Serif;
}
</style>
<body>








解决方案

<!DOCTYPE html>
<html>
<style type="text/css">
body
{
background:#1C262C;
/*background-size :100%;*/
width:100%;
padding:0;
margin:0;
/*overflow:hidden;*/
font-family:Segoe UI, Verdana, Sans-Serif;
}
.header
{
width:100%;
float:left;
border:1px solid #000;
}
.footer
{
width:100%;
border:1px solid #f00;
float:left;
}
</style>
<body>


这篇关于如何分离标题和Fooder的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆