Try taking the <html> and <body> tags out of the header and body tags.  They should be 
<table>s  with their own attributes - you can then control the color of the 
independent tables.  That should give you more control.

Cal 

http://www.calandva.com/            Last update 08/01/03


-----Original Message-----
From: koen boutsen [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 05:10
To: [EMAIL PROTECTED]
Subject: tiles and margins

hi
I'm using tiles for my application. I don't work with definitions, but with layout.jsp 
pages :

<BODY marginheight="0" marginwidth="0" >
<table border="0" cellpadding="0" cellspacing="0" width="100%">

        <tr bgcolor="cyan">
                <!-- banner -->
                <td height="70" valign="top"><tiles:insert attribute="header" /></td>
        </tr>
        <tr bgcolor="yellow"><!-- body -->
                <td width="100%" height="668"><tiles:insert attribute="body" /></td>
        </tr>
</table>
</BODY>

I want my header in a certain color and my body in another color, with no margins 
around them. If I use the code above, I get these margins, even if I use marginheight 
= "0".

I tried to give the <body> tag from the header.jsp and body.jsp a bgcolor, but then my 
whole page takes the first color that is found.

If I don't explained it clearly, don't hesitate to mail me, because I'm really stuck 
on this one.

Thanks

Koen Boutsen
[EMAIL PROTECTED]


____________________________________________________________
FREE ADHD DVD or CD-Rom (your choice) - click here!
http://ad.doubleclick.net/clk;6413623;3807821;f?http://mocda2.com/1/c/563632/131726/311392/311392
AOL users go here: 
http://ad.doubleclick.net/clk;6413623;3807821;f?http://mocda2.com/1/c/563632/131726/311392/311392
This offer applies to U.S. Residents Only

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  
Learn more about Paymentech's payment processing services at www.paymentech.com
THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary 
and confidential information intended only for the use of the recipient(s) named 
above.  If you are not the intended recipient, you may not print, distribute, or copy 
this message or any attachments.  If you have received this communication in error, 
please notify the sender by return e-mail and delete this message and any attachments 
from your computer.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to