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.
leftmargin="0"
topmargin="0"
marginwidth="0"
marginheight="0"
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 > <tr> <td>r1c1</td><td>r1c2</td> <tr> <td>r2c1</td><td>r2c2</td> </table> Code2: <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table border=1 > <tr> <td>r1c1</td><td>r1c2</td> <tr> <td>r2c1</td><td>r2c2</td> </table>
This was first published in September 2001