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

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定

panel部分和footer部分重合且margin-top:200px,沒有效果


/*index.css代碼*/
.index-bannerr{
????position:?relative;
????background:?#b3b3b3;
}

.index-banner-bg{
????height:?570px;????
????overflow:?hidden;
}
.index-banner-bg?img{
????margin:?0?auto;
}
.index-banner-text{
????position:?absolute;
????top:?200px;
????left:?50%;
????margin-left:?-388px;
}

.index-banner-text?.text-logo{
????width:?776px;
????height:?117px;
????background:?url("../images/index-banner-textlogo.png");
}
.index-banner-text?.text-info{
????margin-top:?17px;
????text-align:?center;
????color:?#fff;
}

.index-banner-text?.text-info?.line{
????display:?inline-block;
????width:?40px;
????border-top:?1px?solid?#fff;
????vertical-align:?middle;
}

.index-banner-text?.text-info?.txt{
????margin:?0?26px;
}

/*菜單*/
.index-menu?{
????position:?relative;
????border-top:?4px?solid?#f34949;
}

.index-menu?.menu-tips?{
????position:?absolute;
????left:?50%;
????top:?0;
????margin-left:?-78px;
????width:?156px;
????height:?75px;
????text-align:?center;
????line-height:?65px;
????color:?#fff;
????background:?#f34949;
}

.index-menu?.menu-tips:after?{
????position:?absolute;
????content:?'';
????left:?0;
????bottom:?0;
????width:?0;
????height:?0;
????border-left:?78px?solid?transparent;
????border-right:?78px?solid?transparent;
????border-bottom:?10px?solid?#fff;

}

.index-menu?.menu-list?{
?????margin-top:?150px;
?????color:?#555;
?????overflow:?hidden;
}

.index-menu?.menu-list?ul?{
????width:?1160px;

}
.index-menu?.menu-item?{
????float:?left;
????width:520px;
????
????margin-right:?60px;
????margin-bottom:?56px;
}
.index-menu?.menu-item?.title,?.index-menu?.menu-item?.line?{
????float:?left;
}
.index-menu?.menu-item?.price?{
????float:?right;
}
.index-menu?.menu-item?.title?{
????width:?230px;
????overflow:?hidden;
????white-space:?nowrap;
????text-overflow:?ellipsis;?
????color:?#555555;????
}

.index-menu?.menu-item?.comment{
????margin-top:?4px;
????color:?#b7b7b7;
????font-size:?12px;
}

.index-menu?.menu-item?.line{
????margin-top:?9px;
????width:?192px;
????border-top:?1px?solid?#e3e1e1;
}
.index-menu?.menu-more-btn?{
????margin:?0?auto;
????width:?114px;
????height:?32px;
????padding-left:?16px;
????border:?1px?solid?#d7d5d5;
????font-size:?14px;
????line-height:?32px;
????color:?#b7b7b7;
}

.index-menu?.menu-more-btn?.icon{
????display:?inline-block;
????width:?11px;
????height:?7px;
????margin-left:?10px;
????background:?url("../images/index-menu-icon.png");
}

.index-panel?{
????margin-top:?200px;
}



.index-panel-header?h3{
????float:?left;
????margin-right:?48px;
????font-size:?20px;
????color:?#3b3b3b;
????font-weight:?normal;
????
????
}

.index-panel-header?.line?{
????float:?left;
????width:?200px;
????border-top:?1px?solid?#e5e3e3;
????margin-top:?7px;
}

.index-panel-header?.btn-group{
????font-size:?0;
????float:?right;
}
.index-panel-header?.btn{
????display:?inline-block;?
????margin-left:?11px;
????width:?9px;
????height:?9px;
????background:?#dedede;
????border-radius:?50%;
}

.index-panel-header?.active{
????background:?#9b9b9b;????
}

.index-panel-body{
????margin-top:?75px;
}
/*common.css代碼*/
.public-header{
????height:?110px;
}

.public-header?.header-logo{
????float:?left;
????margin-top:?40px;
????
}
.public-header?.header-logo?a{
????width:?182px;
????height:?54px;
????background:?url("../images/index-header-logo.png");
}

.public-header?.header-nav{
????float:?right;
}
/*?.header-navh和?.item之間要加空格*/
.public-header?.header-nav?.item{
????float:left;
????font-size:?14px;
????margin-top:?44px;
????margin-left:?50px;
????
??}
??.public-header?.header-nav?a{
??????color:?#3b3b3b;
??}

.public-container{
????position:?relative;
????margin:?0?auto;
????
????width:1100px;?
}

.public-footer{
????height:?218px;
????padding-top:?100px;
????background:?#3b3b3b;
}

.public-footer?.footer-col{
????width:?230px;
????float:?left;
????margin-right:?60px;
????font-size:?16px;
????color:?#fff;
????line-height:?1.8;
}
.public-footer?.footer-col:last-child{
????margin-right:?0;?
}
.public-footer?.footer-logo{
????width:?182px;
????height:?55px;
????margin-top:?-10px;
????background:?url("../images/index-footer-logo.png");
}

.seperation{
????clear:?both;
}
/*reset.css代碼*/
body,div,dl,dt,ul,li,h1,h2,h3,h4,h5,h6,input,a,p,textarea{
????margin:?0;
????padding:?0;
????font-family:?"Helvetica?Neue",Helvetica,Arial,sans-serif;
}

ol,ul,li{
????list-style:?none;?
}

a{
????text-decoration:?none;
????display:?block;
????color:?#fff;
}

img{
????border:?none;
????display:?block;
}
.clearfloat{
????zoom:1;
}
.cleatfloat:after?{
????display:?block;
????clear:?both;
????content:?"";
????visibility:?hidden;
????height:?0;

/*????clear:?both;
????content:?'.';
????display:?block;
????width:?0;
????height:?0;
????visibility:?hidden;*/
}

代碼比較繁多,真心請教http://static.mukewang.com/img/59afbf660001108e12350278.jpg

顯示效果如圖,我用的sublime,和這個(gè)沒關(guān)系吧

正在回答

2 回答

我看了這段問題 ,都是這個(gè)問題 ,今天我給大家解答一下這個(gè)問題 。很簡單

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

把這3個(gè)位置調(diào)成我發(fā)的這樣即可。 不要問我是誰,我叫雷鋒。

原因是你common里面 有個(gè)mairgin:0 auto;覆蓋了你之前的margin-top:200px;??


3 回復(fù) 有任何疑惑可以回復(fù)我~

我看了別人的源碼,發(fā)現(xiàn)正常的源碼把后面做的去掉,其實(shí)顯示效果和我的是一樣的,下午我再接著做看看,但是老師講課的時(shí)候卻并不是這樣,難道真的是編輯器的問題?

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

panel部分和footer部分重合且margin-top:200px,沒有效果

我要回答 關(guān)注問題
微信客服

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

幫助反饋 APP下載

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

公眾號

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