永发信息网

做html网页时,公共部分的代码,求样例

答案:1  悬赏:70  手机版
解决时间 2021-04-06 19:52
做html网页时,公共部分的代码,求样例
最佳答案
是这样吗

body,div,dl,dd,dt,ul,li,h1,h2,h3,h4,h5,h6,input,form,a,p,textarea{
margin:0px;
padding:0px;
}
ol,ul,li{
list-style:none;
}
a{
text-decoration: none;
display: block;
color:#fff;
}
img{
border:none;
display: block;
}

.clearfloat{
zoom:1;
}
.clearfloat:after{
display: block;
clear:both;
content:"";
visibility:hidden;
height:0;
}
还是这个

.public-container{

position:relative;
width:1100px;
margin:0 auto;
}
.public-header .header-logo{
float:left;
background-image: url("../images/logo.png");
margin-top:40px;
}
.public-header .header-logo a{
width:182px;
height:54px;
}
.public-header .header-nav{
float:right;
margin-top:44px;
}
.public-header .header-nav .item{
float:left;
margin-left:50px;

}
.public-header .header-nav a {
color: #3b3b3b;
}
.public-header .header-nav a:hover{
text-decoration: underline;
}
.public-footer{
height:218px;
background-color: #3b3b3b;
padding-top:100px;
}
.public-footer .footer-col{
width:230px;
float:left;
margin-right:60px;
font-size:16px;
color:#fff;
lineheight:1.8;
}
.public-footer .footer-col:last-child{
margin-right:0px;
}
.public-footer .footer-logo{
width:182px;
height:54px;
margin-top:-10px;
margin-bottom:10px;
background-image: url("../images/logo-white.png");
}
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
某化学反应的微观示意图如下,下列说法正确的
欧珀莱好用吗,28岁用欧珀莱和欧莱雅哪个好
初中生自我认识怎么写,工作自我评价怎么写
swim什么时候加ing
高强工业长丝1100d是什么意思
小明与小芳为了探究泡沫塑料和棉絮的保温性能
Word中怎样使用浮动工具栏
形容白莲花女人的句子,形容白莲花的句子
防到网被小偷剪了小半,但心在次在来,怎样防
合肥南站到北京高铁几小时到
单选题Mybrotherhas________andbrowneyes.A
赏心悦目、舍己救人、垂头丧气.好高骛远、生
申论技巧:申论怎么不丢分
有想吃腊肠的吗
车碰死个人,车没事,继续开好吗
推荐资讯
格力董明珠名言,格力老板董明珠为什么老爱把
空间自己照片的相册叫什么名字好
州郡遇圣节锡宴,率命猥妓数十群舞于庭,作“
下列属于人体非特异性免疫的第一道防线的是①
合肥市168中学一定要住校吗?我明年要中考,
单选题揭开义和团运动序幕的事件是A.山东冠县
人民币升值阅读答案
花荣不是人称小李广吗?为什么初三时老师说是
多肉可以与什么枝嫁接
欣赏是一什么排比句,欣赏自己是一种()()()排
为社么去酒吧喝香槟怎么叫烧香槟?
泰国铢对人民币汇率多少
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?