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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Alignment

Status
Not open for further replies.

SonJ

Programmer
Oct 24, 2002
166
GB
Hi,

How can I position a a table to be flush with the top and left handside of a browser window, and for it print keeping this format?

SonJ
 
you will need to remove padding from the body element.

Code:
<style type="text/css">
body {
  margin: 0;
  padding: 0;
}
</style>

*cLFlaVA
----------------------------
[tt]I already made like infinity of those at scout camp...[/tt]
beware of active imagination: [URL unfurl="true"]http://www.coryarthus.com/[/url]

BillyRayPreachersSonIsTheLeetestHax0rDude
[banghead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top