I have table width set to 100, but want it to span the full page....I want the red table to span from side to side, and right to the top with now white spacing in between. http://www.dealspot.ca/test/header.php Here is the code: <body> <table width="100%" border="0" cellspacing="0"> <td height="48" bgcolor="#c83d1d"><div align="left" class="style1">dealspot.ca</div></td> </table> <table width="100%" border="0" cellspacing="0"> <tr> <td><div align="center">other</div></td> </tr> </table> </body> Code (markup): any help is appreciated. thanks
I'd also suggest: table { border-collapse:collapse; } not because it would get you the full screen width, but so you could axe the cellpadding, cellspacing and border declarations. You may also want to add TR's to that first table... and are you assigning more styling to those DIV's, or could you get rid of them and apply it to the TD's... I'm also assuming you aren't using the tables as only single td in your live copy? If you aren't, just use a div instead.