C cmpolis Established Member ★ 20 ★ Impact 0 Jan 16, 2006 627 views 4 replies #1 Hello, I was wondering, is there a way so that a table is on the direct top of a page? When I put in a table it is not on the direct top. Thanks!, Chris
Hello, I was wondering, is there a way so that a table is on the direct top of a page? When I put in a table it is not on the direct top. Thanks!, Chris
JFS VIP Member VIP ★ 20 ★ Impact 141 Jan 16, 2006 #2 yes it's simple in fact: Code: topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" on the body tag, in your case you only need the topmargin ="0". have fun
yes it's simple in fact: Code: topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" on the body tag, in your case you only need the topmargin ="0". have fun
C cmpolis Established Member ★ 20 ★ Impact 0 Jan 16, 2006 #3 thanks, but I tried that and it still doesnt go to the top.
TwiztedFake Established Member ★ 20 ★ Impact 1 Jan 16, 2006 #4 Set the margins to 0 and the padding to 0. As most browsers usually put padding around the table itself. If that doesn't work than set the margin and padding for the table to 0.
Set the margins to 0 and the padding to 0. As most browsers usually put padding around the table itself. If that doesn't work than set the margin and padding for the table to 0.
T to-binman Established Member ★ 20 ★ Impact 0 Jan 21, 2006 #5 Code: <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style>
Code: <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style>