[thelist] Table alignment

Jason Morehead jmorehead at digitalims.com
Wed Aug 29 13:04:40 CDT 2001


>Hello Evolters.  I am having a hard time getting a table to align with the
>top of my page. This has been driving me nuts as this should not be a
>problem. I know there must be something simple that I am overlooking, but,
>at the moment I am too blind to see it. The code for the top of the page is
></head>
><body bgcolor="lightblue">
>  <table bgcolor="white" border="0" cellpadding="0" cellspacing="0"
>width="765">
>   <tr>
>It is that simple. Why does it sit 12px or so down from the top of the page?
>Thanks to all that help me stop banging my head!

put this in your <body> tag...

<body bgcolor="lightblue" topmargin="0" leftmargin="0" 
marginheight="0" marginwidth="0">

this will align your table with the edges of the browser window in 
both NN and IE.

jason
-- 
digital IMS - http://www.digitalIMS.com/
201 n 14th - lincoln, ne 68508
402.437.0127




More information about the thelist mailing list