ReportViewer在Chrome中显示损坏的图片 [英] ReportViewer showing broken images in Chrome
问题描述
我正在使用 ReportViewer
10.0。在谷歌浏览器中,这些行会出现一个名为 blank.gif
的破碎图片。但是IE和Firefox工作正常。
下面是一个圈出图片的例子:
关于如何解决这个问题的想法?
我遇到了同样的问题并找到了解决方案。你只需在你的CSS中加入这行:
body:nth-of-type(1)img [src * =Blank.gif ] {显示:无;}
。
我从 http://coffeestain-it.blogspot.com/2011/08/sql-reporting-services-viewer-broken-in.html 。祝你好运。
I'm using ReportViewer
10.0. In Google Chrome, the lines come with a broken image called blank.gif
. But IE and Firefox are working fine.
Here's an example with the images circled:
Any ideas on how to fix this?
I had the same problem and found a solution. you just add to your CSS this line:
body:nth-of-type(1) img[src*="Blank.gif"]{display:none;}
.
I got this answer from http://coffeestain-it.blogspot.com/2011/08/sql-reporting-services-viewer-broken-in.html . Good Luck.
这篇关于ReportViewer在Chrome中显示损坏的图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!