table alignment

Associate
Joined
30 Nov 2003
Posts
1,609
I have a table that I want to align to the very top of the page although when I use the tag it keeps leaving a gap of 10pixels or so. I remember having this problem before although can not remember how I did it, it was something to do with cell spacing or something liek that. Anyone know?

woops nevermind I figured it out, it was the page margin :o
 
Last edited:
Spunkey said:
in css...

Code:
body {
    margin: 0px 0px 0px 0px;}
No units required for zero values and single value applies to all sides:
Code:
body {
margin: 0;}
:)

Or better still, * {margin: 0; padding: 0;}
 
Back
Top Bottom