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

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

我的span為什么不能設(shè)置absolute絕對(duì)定們呢?

我的span為什么不能設(shè)置absolute絕對(duì)定們呢?

未來99 2016-10-14 11:23:45
? ? ? ? ? ?<ul?class="header_login">??????????????<li>下載</li>??????????????<li>馬上登錄</li>??????????????<li>注冊(cè)</li>??????????</ul>??????????<div?class="header_search_wrapper">??????????<form>????????????<span?id="search_tab">?????????????????<a?href="#">商品</a>?????????????????<i?class="icon_1"></i>?????????????????<span?class="header_search_sub">?????????????????<a?href="#">商品</a>?????????????????<a?href="#">店鋪</a>?????????????????</span>?????????????</span>?????????????<span>????????????<input?type="text"?required="required"?class="search_input"?placeholder="請(qǐng)輸入關(guān)鍵詞……">????????????<input?type="submit"?value="搜索">????????????</span>??????????</form>??????????</div>?.header_search_wrapper?{ /*?包裝器的相對(duì)定位*/ position:relative; float:?right; height:?45px; width:?425px; line-height:?45px; margin:?13px; border:?2px?solid?#7FC7A0; background-color:?#474645; background-image:?-webkit-linear-gradient(270deg,rgba(255,255,255,1.00)?0%,rgba(97,96,95,1.00)?20.73%,rgba(71,70,69,1.00)?100%); background-image:?-moz-linear-gradient(270deg,rgba(255,255,255,1.00)?0%,rgba(97,96,95,1.00)?20.73%,rgba(71,70,69,1.00)?100%); background-image:?-o-linear-gradient(270deg,rgba(255,255,255,1.00)?0%,rgba(97,96,95,1.00)?20.73%,rgba(71,70,69,1.00)?100%); background-image:?linear-gradient(180deg,rgba(255,255,255,1.00)?0%,rgba(97,96,95,1.00)?20.73%,rgba(71,70,69,1.00)?100%);}/*?span?的絕對(duì)定位*/.header_search_sub?{width:?52px;?display:block;?position:absolute;}.header_search_sub?a?{background-color:#FbFbFb;?display:block;?color:#7B7E7D;??border:2px?#81CF82?solid;}.search_input?{height:30px;?width:300px;}.header_login?{float:right;?line-height:70px;?list-style:none;}.header_login?li?{float:left;?width:75px;?color:#747878;}.icon_1?{width:15px;?height:12px;?background:url(../images/i_1.jpg)?left?no-repeat;?display:inline-block;}/* span 的絕對(duì)定位*/.header_search_sub {width: 52px; display:block; position:absolute; left:-1px;}.header_search_sub a {background-color:#FbFbFb; display:block; color:#7B7E7D; ?border:2px #81CF82 solid;}.search_input {height:30px; width:300px;}.header_login {float:right; line-height:70px; list-style:none;}.header_login li {float:left; width:75px; color:#747878;}.icon_1 {width:15px; height:12px; background:url(../images/i_1.jpg) left no-repeat; display:inline-block;}
查看完整描述

1 回答

?
未來99

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

知道了,原來是我自己對(duì)三個(gè)定位的方式?jīng)]有認(rèn)真理解。

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

添加回答

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