Add spacing between Web view columns

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.

This was first published in August 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.