Microsoft 开发人员网络 > 论坛主页 > SharePoint - Excel Services > Cell background color in Excel Web Access webpart
提出问题提出问题
 

已答复Cell background color in Excel Web Access webpart

  • 2009年7月1日 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)?

答案

  • 2009年7月1日 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

全部回复

  • 2009年7月1日 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