gpt4 book ai didi

html - 内容溢出 Chrome 中的 div 半径

转载 作者:太空宇宙 更新时间:2023-11-04 15:33:48 26 4
gpt4 key购买 nike

我的网站布局很奇怪(由我的客户设计),但我开发得很好。

问题是 Chrome(版本 22)不工作,但在 Firefox(版本 16)和 IE 9 中工作。

问题出在 colRight 中,有两个 div 不符合半径,内容溢出并越过 colCenter

我该如何解决?

JSFIDDLE

火狐:

enter image description here

Chrome enter image description here

HTML:

     <div class="colCenter" id="two"></div>
<div class="colRight" id="three">
<div class="first_menu"></div>
<div class="dati_societari"></div>
</div>​

CSS:

    .colCenter{
position:absolute;
top:0;
left:18%;
height: 100%;
width: 72%;
background: #ccc;
border-left: 0px solid #333;
border-radius: 280px 0px 0px 280px / 1000px 0px 0px 1000px;
/*border-radius: 0.2px 0px 0px 0.2px;*/
z-index:100;
overflow:hidden !important;
box-shadow:-5px -1px 8px rgba(0,0,0,0.4);
-webkit-box-shadow:-5px -1px 8px rgba(0,0,0,0.4);
-moz-box-shadow: -5px -1px 8px rgba(0,0,0,0.4);
}

.colRight{
position:absolute;
top:0;
right:0;
background:#fff;
height:100%;
width:18%;
z-index:1000;
border-left: 0px solid #333;
/*border-radius: 70px 0px 0px 70px / 250px 0px 0px 250px;*/
border-radius: 280px 0px 0px 280px / 1000px 0px 0px 1000px;
box-shadow:-5px -1px 8px rgba(0,0,0,0.4);
-webkit-box-shadow:-5px -1px 8px rgba(0,0,0,0.4);
-moz-box-shadow: -5px -1px 8px rgba(0,0,0,0.4);
overflow:hidden !important;
}






.first_menu{
height:10%;
width:100%;
background:#714d8f;
position:absolute;
top:0;
left:0;
z-index:2;
}


.dati_societari{
height:8%;
width:100%;
background:#9a9a9a;
position:absolute;
bottom:50px;
left:0;
z-index:2;
text-align:center;
}


.social{
position:absolute;
width:100%;
bottom:5%;
left:20%;
}

.img_social{
opacity:0.7;

transition-property: opacity; /*standard*/
transition-duration: 0.4s;

-webkit-transition-property: opacity; /*Safari e Chrome */
-webkit-transition-duration: 0.4s;

-o-transition-property: opacity; /*Opera*/
-o-transition-duration: 0.4s;

-moz-transition-property: opacity; /*Firefox*/
-moz-transition-duration: 0.4s;
}

最佳答案

关于html - 内容溢出 Chrome 中的 div 半径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13051545/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com