Add spacing between Web view columns

This tip helps space your views without having to completely render the view as HTML.

View member feedback to this tip.

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.

Column formulas:
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.

Dig Deeper on Web Development for Lotus Notes Domino

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...