Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deleting Space around a table

Status
Not open for further replies.

millzy7

Programmer
Dec 9, 2003
96
US
Hi

I want to get rid of the space between the border of my table and the edges of the screen.

Any ideas?

Thanks
 
<body marginheight=0 marginwidth=0 topmargin=0 leftmargin=0>

to cover NS and IE

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

zen.gif
 
in addition to that, there is a css solution as well:

<style>
body {
margin: 0;
padding: 0;
}
</style>

or inline:

<body style=&quot;margin: 0; padding: 0;&quot;>
 
I would avoid mwolf00's solution {no offence :)} and go with the CSS solution (but try not to put in &quot;inline&quot; unless you are using some sort of template system for your site).




<!--#sig value=''É'' url='' -->
 
Cian -

None taken... You are, of course, right. The CSS solution is perferable and my solution shows my age...

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top