PDA

View Full Version : Positioning a table absolute top left?


yashombi
10-22-2005, 11:57 AM
How do you position a table absolute top left on the page using CSS so there is no white (or whatever your background might be) showing? Similar to this page in that it sits at the very top of the browser window with no gap.

I have tried using this code:

#body td {
margin-top: 0px;
margin-left: 0px;
}

Is this right or am I way off the mark??

Creative Insanity
10-22-2005, 06:05 PM
Just set the body of your page to 0 margins like thins:

body {
margin:0;
}