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!

Drawing tables to the edge of the page

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Simple question : how do i remove the gaps between the edge of a page on the left and at the top of a page?

e.g. like in ?

Many thanks!
 
Use CSS.

Whack this into you table tag:

style="position: absolute; top: 0; left: 0;"
 
You could try CSS styles... probablythe easiet way to do it and have it cross-browser

<style type=&quot;text/css&quot;>
<!--
body { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px}
-->
</style>

or you could also try

body { margin : 0px 0px 0px 0px; }

or this as shorthand

body { margin : 0px; }


This will take care of the margins in IE4+ and NN6. To take care of NN4x, you will need to use MODIFY>Page Properties... and set the two right hand margin fields (marginwidth and marginheight) to zero. When in doubt, deny all terms and defnitions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top