gpt4 book ai didi

html - 删除显示 :table and table-cell 后受影响的 Div 边框

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

我的外部 div 上的边框有问题。 (全部)我只需要从 html 中删除 display: table; 并从 .all 中删除 display: table-cell; 即可解决我遇到的问题。事实证明,他们正在检查 .all 上的边界。我已经能够在 fiddle 中尽我所能地复制它。 http://jsfiddle.net/99e7cz8d/

在我的实际站点中,边框在右上角和左上角做同样的事情,在 fiddle 中只有左 Angular 在做。

我需要 .all 的边框显示在所有的边上。

最佳答案

.all 上尝试 overflow:hidden - http://jsfiddle.net/99e7cz8d/10/

.all {
/*display: table-cell;*/
border: 2px solid #006699;
background-color: #0F3053;
overflow:hidden
}

关于html - 删除显示 :table and table-cell 后受影响的 Div 边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30067316/

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