开发者

SSRS 2005 Table Border Problems When Rendering to HTML

I have a problem with my matrix not rendering properly in HTML. It's a minor issue but annoying nonetheless. The problem is that the right borders disappear on the rightmost column. It only happens on cells with data in them. Like so:

alt text http://img193.imageshack.us/img193/7718/med100width.png

Does anyone else experience this? Workarounds? Fixes? Does SSRS 开发者_JAVA百科2008 have the same issue?


I have had similar problems, particularly cross browser, with SSRS. The standard of the HTML generated is very poor and hence often is quirky to say the least even in internet explorer.

The client I was working for had strict standards for accessibility and browser compatibility so I looked into improving the standard of what was outputted a lot but didn't get anywhere. As reports are basically XML I was hoping someone somewhere may have written a better engine to transform this into XHTML but it appears not.

I ended up playing around with table size and column widths which in some cases seemed to resolve some of my issues.


Upon further inspection it seems that all numbers are enclosed in divs, with the attribute width=100%. Using the developer tool in IE I saw that removing width=100% restored the borders.

One solution could be to write your own renderer based on the standard html and filter out the annoying little buggers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜