Tables - Extra spacing between edge of screen and table (Posted by IanD)
When using a table as a navagation bar on the left side of the screen, there is about 1/8 of an inch of blank space between the top and left edge of the screen and the begining of the table (there is the same thing on www.pageresource.com, if you can't visualize what I'm saying). Does anyone know how to fix it? I've seen it where there is no space, but couldn't find any code in the source that seemed to work.
Thanks,
Ian
John Pollock posted this at 20:55 — 23rd October 1999.
He has: 628 posts
Joined: Mar 1999
You'll want to add a few attributes to your body tag:
<BODY LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
My site leaves the margins on purpose, I didn't like the look with zero margins.
----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com
Java Script: A Beginner's Guide
Page Resource
IanD posted this at 22:20 — 24th October 1999.
They have: 222 posts
Joined: Sep 1999
Thanks John, that worked.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.