Are you frustrated with how Domino renders views with no padding or spacing between columns? Here's a workaround to help space your views without having to completely render the view as HTML.
Since Domino will butt each cell up to one another, you can insert a column where you need the additional spacing.
If you only need a small space, use quotes around a space.
" "If you need more than a space, use the following formula (HTML comment tag, HTML spaces, HTML comment tag).
"[<!----> <!---->]"Note: This formula is necessary because no matter what the browser will render white spaces as one space. Also, Domino doesn't properly render
[ ]by itself, so surrounding the spaces with HTML comment tags allows it to properly render.
If you like these spacing tips, also look for the tip I published regarding getting Domino to render the view to fit 100%.
As an alternate solution to this tip, you can also use "[<img src=/icons/ecblank.gif>]". I use this because the image is in every Domino installation and sometimes browsers can render spaces as different widths; but this way everything is uniform.
-- Mike S.
Do you have comments of your own? Let us know.
This was first published in August 2003