Web table on the top left corner

Remove the blank space from the top of your Web pages.

Have you ever tried to put a table just after the <body> tag? (see code1) (That's the same for Domino or pure HTML). Viewing the page you will see a blank line before the table. That's annoying, especially if the table contains a navigation menu.

You can use pass-through html in pages, but it will give the same result. You can use "treat document/page content as HTML" property in form/pages, but then you will face others issues.

The solution I found snooping around is a very simple one:
using particulars BODY attributes.
I put the new attributes in the Domino "HTML Body attributes" section and now my table is positioned in the left and top corner.

See code2 .

Code 1:
<body >
<table border=1 >

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table border=1 >
This was last published in September 2001

Dig Deeper on Domino Resources

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.




  • iSeries tutorials

    Search400.com'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 ...