2011-05-04 270 views
0

在附加的圖像中,有些部分背景是黑色,我無法弄清楚爲什麼。css問題背景黑色

我知道我要求的東西是不是很描述性的,但請,如果有人可以拋出一些指針,這將有助於

感謝

enter image description here

下面的CSS(這是我從螢火蟲了當我集中黑色背景元素)

.curResults .tableTopControls { 
    display: block; 
    height: 30px; 
    line-height: 30px; 
    margin: 0 0 5px; 
    width: 100%; 
} 

.tableTopControls { 
    font-size: 11px; 
    overflow: hidden; 
} 

html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    border: 0 none; 
    font-size: 100%; 
    margin: 0; 
    padding: 0; 
    vertical-align: baseline; 
} 

Inherited fromdiv.dataTables_wrapper 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromdiv.table 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromdiv#mainSection_merchandizerContentSection_rsPromotions_recordSetContainer.panel 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromdiv.panel 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromdiv.js-showTitle 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromdiv.tabContent 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromdiv.tabContentWrap 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromdiv. 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromdiv.content 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromdiv.stage 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromdiv.page 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromform#frmHomePage merchandizer.aspx 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited frombody.body_Merchandizer 
body { 
    font-family: Arial,san-serif; 
    font-size: 13px; 
    line-height: 18px; 
} 

body { 
    color: #000000; 
    font-family: Arial,san-serif; 
    font-size: 13px; 
    line-height: 18px; 
} 

html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 

Inherited fromhtml 
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, small, strong, b, u, i, center, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td { 
    font-size: 100%; 
} 
+0

你可以以文本方式發佈CSS嗎?我發現很難閱讀。 – Belinda 2011-05-04 08:03:16

+0

如果您提供了CSS,我們可以弄清楚。 – 0xAli 2011-05-04 08:03:30

+0

嗨,你有沒有在Firebug(右側面板 - syle)中一路向下滾動以查看這個黑色是從哪裏繼承的? – 2011-05-04 08:04:18

回答

0

很難做任何事情,只是猜測沒有看到所有的CSS和html,但很有可能您沒有爲該元素應用背景,並且顯示了其中一個父元素的背景色。

在您發佈的CSS中沒有後臺聲明,所以可能這是爲什麼。我想發佈你的整個(相關)代碼或鏈接到演示會給你更準確的答案。