View Full Version : table question

Mar 30th, 2007, 07:12 AM
I made table for layout


I'm trying to get rid of empty space on top and left side of the table

do I have to use CSS?

Mar 30th, 2007, 08:38 AM
First of all, you're going to need to supply a lot more information than that to give people a reasonable chance to answer your question.
Always provide the full markup and styles, preferably as a link to the page online.

Second, using a table for layout purposes is discouraged anyway: using CSS for presentational and layout aspects is the preferred approach.

That said, you probably need to eliminate to margins and padding on the body element to get rid of that gap; again, CSS is the easiest wat to do that:

body {
margin: 0;
padding: 0;