Sunday, February 12, 2012

All that extra whitespace that displays in HTML

So I have a footer row in a table that is set to 0 height. Actually it is set to 0.03125in because SSRS doesn't allow a 0 height, but whatever.
When I view this in the designer preview, life is good. The amount of whitespace on each footer is minimal and a minor nuisance.

But after deploying to the server and viewing in the web browser, the whitespace is much more pronounced. Any special reason why these display differently, and any way to shrink down that HUGE row whitespace?

Can't you just select the whole footer row and delete it if you are not using it for anything? That would eliminate the space on the report.|||

Please give me a little credit. I know how to delete a row.

No that won't work. This is a sweet little workaround for other major deficiencies that exist in SSRS.

But now the new problem is that the way HTML is rendered in the Report Viewer is different than the display in the Visual Studio environment. Namely all that extra whitespace and no way seemingly to control it by specifically setting the size of the row or assigning css styles.

No comments:

Post a Comment