#bannerBox{
position:absolute;
top:370px;
border:2px?solid?black;
width:900px;
}
.banner_0{
margin:0?45px;
z-index:?9;
cursor:?pointer;
}
.button_apply
{
????margin-top:?100px;
????height:?56px;
????width:260px;
????line-height:?56px;
????text-align:?center;
????background:?#ffb320;
????display:inline-block;
????border-radius:?28px;
????font-size:20px;
????color:?#fff;
????cursor:?pointer;
????box-shadow:?0?2px?2px?rgba(0,?0,?0,?0.2);
????z-index:?9;
}bannerBox是外層div,banner_0是三個六邊形的class,button_apply是申請按鈕的class。為什么在三個banner_0可以在ie中水平居中,在chrome中左邊距要長一點?該怎么決解這個問題呢?前者為ie11 后者為chrome
- 4 回答
- 0 關注
- 2862 瀏覽
相關問題推薦
添加回答
舉報
0/150
提交
取消
