View Full Version : window.open help-spacing issue

08-18-2005, 05:09 PM
I have a page that I am coding that when the calculate button is clicked, a new window opens with a table filled in with the calculation. My problem is that when this new window opens, there is a lot of spacing to the left and right of the table. How can I get rid of all this spacing and have just the table show up in the window? Any help would be greatly appreciated. Thanks.

08-18-2005, 05:16 PM
in your popup page:

<script type="text/css">
body { margin: 0; }
table { width: 100% }

Hope this helps


08-18-2005, 06:01 PM
I put this in, but it didn't do anything. Should this be put at the top or the bottom? I put it at the top and it didn't do anything. Also, no matter what I put the width of the window at, it spacing on either side of the table stays there.