You also might want to add this to your table tag: style="margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;"
-Mike Chabot On Thu, Sep 25, 2008 at 3:17 PM, Mike Chabot <[EMAIL PROTECTED]> wrote: > To get rid of the small gap between the header and content, replace > topmargin="0" with style="margin-top:0px;" > > -Mike Chabot > > On Thu, Sep 25, 2008 at 11:45 AM, Yuliang Ruan <[EMAIL PROTECTED]> wrote: >> I'm trying to set up a PDF CFDocument and I'm been trying to get rid of the >> space between the header and the main content of the page >> >> so far I've got this code and I'm left with just like a 1/8". any ideas to >> get the two parts to be totally flush? >> >> <cfdocument format="PDF" margintop="2"> >> <cfdocumentitem type="header"> >> <body bottommargin="0"> >> <table bgcolor="red" width="100%" height="100%"><tr><td>HI</td></tr></table> >> </body> >> </cfdocumentitem> >> <body topmargin="0"> >> <table bgcolor="Green" width="100%"><tr><td valign="top"> >> THERE >> </td></tr></table> >> </body> >> </html> >> </cfdocument> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313093 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4