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

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

三欄布局,中間自適應(yīng)要怎么調(diào)呢?代碼如下,總算憋出來了,但是好復(fù)雜

三欄布局,中間自適應(yīng)要怎么調(diào)呢?代碼如下,總算憋出來了,但是好復(fù)雜

慕粉151200503 2017-03-31 11:32:26
#left{?? ??? ??? ??? float:left;?? ??? ??? ??? ?padding:20px;?? ??? ??? ??? ?border:2px solid #999;?? ??? ??? ??? ?margin:0px;?? ??? ??? ??? ?position:absolute;?? ??? ??? ???? width:100%;?? ??? ??? ??? ?height:98%;?? ??? ??? ??? ?background:#eee;?? ??? ??? ??? ?}?? ??? ??? ??? ?.right{?? ??? ??? ??? ??? ?right:20px;?? ??? ??? ??? ??? ?position:absolute;?? ??? ??? ??? ???? float:right;?? ??? ??? ??? ??? ?border:2px solid #999;?? ??? ??? ??? ??? ?padding:20px;?? ??? ??? ??? ??? ?width:120px;?? ??? ??? ??? ??? ??? ??? ??? ??? ??? ?background:white;?? ??? ??? ??? ??? ?}?? ??? ??? ??? ?.div1{?? ??? ??? ??? ?border:2px solid #999;?? ??? ??? ??? ?float:left;?? ??? ??? ??? ?position:relative;?? ??? ??? ??? ?padding:20px;?? ??? ??? ??? ?left:0;?? ??? ??? ??? ?width:200px;?? ??? ??? ??? ?height:80px;?? ??? ??? ??? ?background:white;?? ??? ??? ??? ?}?? ??? ??? ??? ?.div2{?? ??? ??? ??? ?left:0;?? ??? ??? ??? ?position:relative;?? ??? ??? ??? ?border:2px solid #999;?? ??? ??? ??? ??? ?width:90px;?? ??? ??? ??? ?height:60px;?? ??? ??? ??? ?padding-top:20px;?? ??? ??? ??? ?float:left;?? ??? ??? ??? ?background:#eee;?? ??? ??? ?}?? ??? ??? ?h4{?? ??? ??? ??? ??? ??? ??? ??? ?float:right;?? ??? ??? ?}?? ??? ??? ?.main{?? ??? ??? ??? ?padding:20px;?? ??? ??? ??? ??? ?border:2px solid #999;?? ??? ??? ??? ?height:80%;?? ??? ??? ??? ?text-align:center;?? ??? ??? ??? ?background:white;?? ??? ??? ??? ?margin:0 210px 0 270px;?? ??? ??? ??? ?position:absolute;?? ??? ??? ?}?? ??? ??? ?.logo1{?? ??? ??? ??? ??? ??? ??? ??? ?text-align:centenr;?? ??? ??? ??? ?border:2px solid #999;?? ??? ??? ??? ?padding:20px;?? ??? ??? ??? ?margin:10px;?? ??? ??? ??? ?background:#eee;?? ??? ??? ??? ?width:60px;?? ??? ??? ??? ??? ??? ??? ?}?? ??? ??? ?.logo2{?? ??? ??? ??? ?border:2px solid #999;?? ??? ??? ??? ?padding:20px;?? ??? ??? ??? ?margin:10px;?? ??? ??? ??? ?background:#eee;?? ??? ??? ??? ?text-align:centenr;?? ??? ??? ??? ?width:60px;?? ??? ??? ?}?? ??? ??? ?.logo3{?? ??? ??? ??? ?border:2px solid #999;?? ??? ??? ??? ?padding:20px;?? ??? ??? ??? ?margin:10px;?? ??? ??? ??? ?background:#eee;?? ??? ??? ??? ?text-align:centenr;?? ??? ??? ??? ?width:60px;?? ??? ??? ?}?? ??? ??? ?.logo4{?? ??? ??? ??? ?border:2px solid #999;?? ??? ??? ??? ?padding:20px;?? ??? ??? ??? ?margin:10px;?? ??? ??? ??? ?background:#eee;?? ??? ??? ??? ?text-align:centenr;?? ??? ??? ??? ?width:60px;?? ??? ??? ?}?? ??? ??? ?</style>?? ??? ??? ?</head>?? ?<body>?? ??? ?<div id="left">?? ??? ??? ??? ?<div? class="div1"><h4>團(tuán)隊(duì)名稱</h4>?? ??? ??? ?<div class="div2"><center>團(tuán)隊(duì)LOGO</br>80x80</center></div></div>?? ??? ??? ??? ??? ?<div class="main">關(guān)于你們團(tuán)隊(duì)的介紹</br>?? ??? ??? ?我們是一組由大學(xué)生組成的學(xué)習(xí)團(tuán)隊(duì),都是JS入門級(jí)別的菜鳥。</div>?? ??? ?<div class="right">?? ??? ??? ?<div class="logo1">個(gè)人LOGO</br>80x80</div>?? ??? ??? ?<div class="logo2">個(gè)人LOGO</br>80x80</div>?? ??? ??? ?<div class="logo3">個(gè)人LOGO</br>80x80</div>?? ??? ??? ?<div class="logo4">個(gè)人LOGO</br>80x80</div>?? ??? ?</div>?? ??? ?</div>??? </body></html>
查看完整描述

1 回答

?
候補(bǔ)程序員

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

#left?{
????/*?float:?left;?*/
????padding:?20px;
????border:?2px?solid?#999;
????margin:?0px;
????/*?position:?absolute;?*/
????/*?width:?100%;?*/
????height:?98%;
????background:?#eee;
}
.main?{
????/*?padding:?20px;?*/
????border:?2px?solid?#999;
????height:?80%;
????text-align:?center;
????background:?white;
????margin:?0?200px?0?300px;
????/*?position:?absolute;?*/
}
.right?{
????right:?20px;
????position:?absolute;
????float:?right;
????border:?2px?solid?#999;
????padding:?20px;
????width:?120px;
????top:?20px;
????background:?white;
}

你的主要問題是亂用定位,把這幾個(gè)類換掉就可以了

查看完整回答
反對(duì) 回復(fù) 2017-03-31
  • 1 回答
  • 0 關(guān)注
  • 1250 瀏覽
慕課專欄
更多

添加回答

舉報(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)