最新回答 / aftarms
如果是pc端的,网页语言都是支持纯手工coding的。集成开发环境只不过是快一点而已。css在<head>标签里用<link rel="stylesheet" href="xx.css">这样就可以引入xx.css要包含你的css文件存放地址。<img src="xx.jpg">这样来引入图片。
2019-03-29
子类设置了浮动之后,因为父类nav的内容没有,所以需要设置clear:both;在命名为nav的DIV里面,这样才能把nav撑开,才能正常显示,求赞
2019-03-26
最新回答 / 此许非彼苦
url("") 0 0 no-repeat;url("")就是图片的url地址0 0两个0就相当于background-position:0 0;就是把背景图像向右向下移动0个像素no-repeat的意思就是背景图片不重复显示
2019-03-26
.mainBox{
width:960px;
background-color:#CFF;
height:300px;
float:left;
}
.leftBox{
width:740px;
background-color:#C9F;
height:300px;
float:left;
}
.rightBox{
width:210px;
background-color:#FCF;
height:300px;
float:right;
}
width:960px;
background-color:#CFF;
height:300px;
float:left;
}
.leftBox{
width:740px;
background-color:#C9F;
height:300px;
float:left;
}
.rightBox{
width:210px;
background-color:#FCF;
height:300px;
float:right;
}