为什么<P>标签会在这里创建黑色背景? 我如何摆脱边框?



我正在尝试创建一些颜色框元素,而且我不知道为什么

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

这是所有相关代码的小提琴

黑色边框来自这个 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;}

小提琴:演示

最新更新