Jump to content

Table can't take the full space of the page


redstorm
 Share

Recommended Posts

i use table function on my homepage. But i find: though i set "table width="100%", it still leave some blank space both left and right; what i want is to make the table takes up the whole page, and i have no ideas on this :) any good ideas, my friend?

Link to comment
Share on other sites

You need to remove the default margins. To do this add a style between your <head> tags.

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

This should take care of your margins. :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...