PDA

View Full Version : Alignment and Margins?



Blork
February 12th, 2004, 09:07 PM
I need to figure out how to align my tables to the very top and very bottom and sides of the window?

Example: http://www.pizzahut.com

See how the table spans from the far left to the right side of the window? How do I do that, and also how to I make the table stick to the very top left of the corner of the window?

Sorry if that sounds kinda frustrating or hard to understand.

replode
February 12th, 2004, 09:39 PM
body TOPMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0"

and then make your table width 100%

Blork
February 13th, 2004, 12:08 AM
You are the smartest man alive.

λ
February 13th, 2004, 01:20 PM
sigh... how about this?


<body style="margin:0;">


works in pretty much any browser + is standards compliant, unlike the top one.