MSDN > 論壇首頁 > SharePoint - Excel Services > Cell background color in Excel Web Access webpart
發問發問
 

已答覆Cell background color in Excel Web Access webpart

  • Wednesday, 1 July, 2009 9:48Vilius Simonaitis 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I have an Excel file (Edited with MS Excel 2007) in which odd rows are colored Gray.
    When it is displayed through Excel Web Access webpart, Gray background color is rendered as Black (ExcelRenderer.aspx file returns 'background-color: Black' css for particular cells ).

    The funny thing is that the problem appears only in Intranet zone. In Internet zone Excel file appears correctly.

    This problem persists only with gray shades. When i apply greenish or custom color, the background is rendered fine.

    Is it Sharepoint bug (how do i submit it to MS?)
    or
    some configuration issue (how to resolve it)?

解答

  • Wednesday, 1 July, 2009 16:42Anthony Valey - MSFT 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    It sounds as though you have gradient fill backgrounds present in the cells.  In Internet Explorer, Excel Web Access uses the Alpha/Gradient ActiveX filters to replicate Excel's rendering.  Unfortunately when ActiveX is disabled, in certain zones, the background shows with full saturation instead of with the specified opacity.

    You can:
    1) change the settings/trust for the specified web site(s)
    2) remove or change fills/table styles as you mentioned
    3) change ActiveX settings more widely than (1); this can be risky, so do so with caution
    S/W Engineer, Microsoft Office Excel Services

所有回覆

  • Wednesday, 1 July, 2009 16:42Anthony Valey - MSFT 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    It sounds as though you have gradient fill backgrounds present in the cells.  In Internet Explorer, Excel Web Access uses the Alpha/Gradient ActiveX filters to replicate Excel's rendering.  Unfortunately when ActiveX is disabled, in certain zones, the background shows with full saturation instead of with the specified opacity.

    You can:
    1) change the settings/trust for the specified web site(s)
    2) remove or change fills/table styles as you mentioned
    3) change ActiveX settings more widely than (1); this can be risky, so do so with caution
    S/W Engineer, Microsoft Office Excel Services