gpt4 book ai didi

html - 为什么

标签在这里创建黑色背景?以及如何摆脱边界?

转载 作者:太空宇宙 更新时间:2023-11-03 21:43:31 32 4
gpt4 key购买 nike

我正在尝试创建一些 colorbox 元素,我不明白为什么

标签会在这里创建黑色背景?以及如何摆脱外部黑色边框? (尝试修改CSS没有成功)

This is the Fiddle with all relevant code

最佳答案

黑色边框来自这个css:

#cboxContent{margin-top:32px; overflow:visible; background:#000;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{background:#000; padding:1px;}
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
#cboxLoadingOverlay{background:#000;}

试试这个;

#cboxContent{margin-top:32px; overflow:visible; }
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{ padding:1px;}
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}

fiddle :demo

关于html - 为什么 <P> 标签在这里创建黑色背景?以及如何摆脱边界?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21968999/

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