html页面右侧插入图像,html切图教程里的问题,我用<img>插入图片后右侧有空白...

banner

resto restaurant home page website template

FEATURES DISHES
THE GALLERY

commom.css:

.public-header{

height: 110px;

background: #fff;

}

.public-header .header-logo{

float: left;

width: 182px;

height: 54px;

background: url("../image/index-header-logo.png") no-repeat top left;

margin-top: 40px;

}

.public-header .header-logo a{

width: 182px;

height: 54px;

}

.public-header .header-nav{

float: right;

text-align: center;

}

.public-header .header-nav .item{

display: inline-block;

line-height: 110px;

margin-left: 50px;

font-weight: bold;

font-size: 14px;

color: #5e5e5e;

}

.public-header .header-nav .item a{

color: #5e5e5e;

}

.public-container{

position: relative;

margin: 0 auto;

width: 1100px;

}

.public-footer{

height: 318px;

background: #3b3b3b;

}

.public-footer .footer-logo1{

float: right;

background: url("../image/1.png") no-repeat;

width: 182px;

height: 55px;

margin-right: 28px;

margin-top: 82px;

}

.public-footer .footer-logo2{

float: right;

background: url("../image/2.png") no-repeat;

width: 200px;

height: 58px;

margin-right: -190px;

margin-top: 150px;

}

.footer-nav{

float: left;

margin-top: 100px;

}

.footer-nav .footer-nav-list{

display: inline-block;

margin-right: 106px;

}

.footer-nav .footer-nav-list a{

color: #fff;

font-size: 16px;

line-height: 30px;

}

index.css

.index-banner{

position: relative;

background: #b3b3b3;

text-align: center;

}

.index-banner-bg{

height: 570px;

width: 1500px;

/*margin: 0 auto;*/

overflow: hidden;

}

.index-banner-text{

position: absolute;

top: 200px;

left: 50%;

margin-left: -388px;

}

.index-banner-text-logo{

width: 778px;

height: 280px;

background: url("../image/3.png") no-repeat;

}

.index-banner-text-text{

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值