第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

html切圖教程里的問題,我用<img>插入圖片后右側(cè)有空白

html切圖教程里的問題,我用<img>插入圖片后右側(cè)有空白

徐錦杰 2017-02-24 16:13:11
切圖教程里,我用img插入圖片后把窗口放最大右邊就有空白了,我在上層div里設(shè)置text-align:center 圖片還是居左展示
查看完整描述

3 回答

?
徐錦杰

TA貢獻(xiàn)6條經(jīng)驗(yàn) 獲得超1個(gè)贊

58b0002c0001bb1605000144.jpg

58b0002d000117a405000141.jpg

...

查看完整回答
反對(duì) 回復(fù) 2017-02-24
?
徐錦杰

TA貢獻(xiàn)6條經(jīng)驗(yàn) 獲得超1個(gè)贊

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title></title>

<link rel="stylesheet" type="text/css" href="style/reset.css"/>

<link rel="stylesheet" type="text/css" href="style/common.css"/>

<link rel="stylesheet" type="text/css" href="style/index.css"/>

</head>

<body>

<div class="public-header">

<div class="public-container clearfloat">

<div class="header-logo"><a href="#"></a></div>

<ul class="header-nav clearfloat">

<li class="item"><a href="#">Our Story</a></li>

<li class="item"><a href="#">Menu</a></li>

<li class="item"><a href="#">Reservations</a></li>

<li class="item"><a href="#">News</a></li>

<li class="item"><a href="#">Rviews</a></li>

</ul>

</div>

</div>

<div class="index-banner">

<div class="index-banner-bg"><img src="image/banner.jpg" alt="banner"></div>

<div class="index-banner-text">

<div class="index-banner-text-logo"></div>

<p class="index-banner-text-text">

<i class="line line-l"></i>

resto restaurant home page website template

<i class="line line-r"></i>

</p>

</div>

</div>

<div class="public-container index-list"></div>

<div class="public-container index-panel">

<div class="index-panel-header">FEATURES DISHES</div>

</div>

<div class="public-container index-panel">

<div class="index-panel-header">THE GALLERY</div>

</div>

<div class="public-footer clearfloat">

<div class="public-container">

<div class="footer-logo1"><a href="#"></a></div>

<div class="footer-logo2"><a href="#"></a></div>

<div class="footer-nav">

<ul class="footer-nav-list">

<li class="footer-nav-list-item"><a href="#">New York Restaurant</a></li>

<li class="footer-nav-list-item"><a href="#">3926 Anmoore Road</a></li>

<li class="footer-nav-list-item"><a href="#">New York,NY 10014</a></li>

<li class="footer-nav-list-item"><a href="#">718-749-1714</a></li>

</ul>

<ul class="footer-nav-list">

<li class="footer-nav-list-item"><a href="#">France Restaurant</a></li>

<li class="footer-nav-list-item"><a href="#">68,rue de la Couronne</a></li>

<li class="footer-nav-list-item"><a href="#">75002 PARIS</a></li>

<li class="footer-nav-list-item"><a href="#">02.94.23.69.56</a></li>

</ul>

<ul class="footer-nav-list">

<li class="footer-nav-list-item"><a href="#">Blog</a></li>

<li class="footer-nav-list-item"><a href="#">Careers</a></li>

<li class="footer-nav-list-item"><a href="#">Privacy Policy</a></li>

<li class="footer-nav-list-item"><a href="#">Contact</a></li>

</ul>

</div>

</div>

</div>

</body>

</html>


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{


}



查看完整回答
反對(duì) 回復(fù) 2017-02-24
?
學(xué)習(xí)js

TA貢獻(xiàn)85條經(jīng)驗(yàn) 獲得超55個(gè)贊

代碼發(fā)來看看

查看完整回答
反對(duì) 回復(fù) 2017-02-24
點(diǎn)擊展開后面4
  • 3 回答
  • 0 關(guān)注
  • 4280 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)