2013-07-19 69 views
1

這裏是Internet Explorer中展現我的CSS: My CSS的Internet Explorer彌補CSS身體

見該行我選擇呀,這不是那裏的CSS。事實上,它是特別別的:

/* 
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. 
For licensing, see LICENSE.html or http://ckeditor.com/license 
*/ 

body 
{ 
/* Font */ 
font-family: sans-serif, Arial, Verdana, "Trebuchet MS"; 
font-size: 12px; 

/* Text color */ 
color: #333; 

/* Remove the background color to make it transparent */ 
background-color: transparent !important; 

margin: 20px; 
} 

你會注意到,我試圖使背景CKEditor 10透明。你還會注意到IE似乎正在賺取高價。

任何想法我可以告訴IE停止這樣做,並使背景透明?

我也嘗試刪除背景樣式,它忽略了這一點。我也清除了緩存,但仍然沒有快樂。正如你可以猜測Chrome和其他好的瀏覽器工作正常。

+0

嘗試'背景色:RGBA(255,255,255,0)重要的;' –

+1

我會假設你處理!一個iframe,因爲透明的主文檔主體不會做任何事情。如果rgba解決方案不起作用,請嘗試在iframe上設置allowtransparency =「true」' –

+0

rgba(255,255,255,0)沒有區別。 – Tod

回答