View Full Version : Table aligning flush with top of window
AD Design
06-14-2007, 08:14 PM
Hi. I'm having trouble getting a table to flush align with the top of the page. There is a small amount of space along the top of the window before the table starts. I have "0" border, "0" cellpadding and "0" cellspacing code already in place, but there is still a space.
Any suggestions?
Thanks!
S
zkiller
06-14-2007, 11:27 PM
you will need to set your page margins to 0 like this...
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
ChrisDN
06-15-2007, 08:13 AM
CSS:
body { margin: 0; }
AD Design
06-15-2007, 05:07 PM
Both of these worked. I knew it had to be simple and after seeing your response it refreshed my memory.
Thanks for your help!
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.