PDA

For continued disscussion on this topic : Tables



Edspace
06-30-2000, 09:34 AM
Hi
Some help please. I have a table set to width="100%" height="100%" but there is still a slight gap between the table edge and the edge of the screen. I want the table to push right up to all four edges of the screen, any suggestions?

Vincent Puglia
06-30-2000, 03:20 PM
Hi Edspace,

Try:
<body ....marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>

Vinny

caislander
06-30-2000, 03:24 PM
Hi,

We always have suggestions around here, not saying any of them work (lol), to set your margin widths to near zero you can use the marginwidth="argument" attribute within the body tag. The proper argument for this attribute is a number of pixels, you can NOT use zero, the value must be greater than one pixel. But at 2 pixel who is gonna notice.

Use <body marginwidth="argument">
Argument=#of pixels (nuber must be greater than 1)

Hope this Helps

Vincent Puglia
06-30-2000, 03:27 PM
Hi caislanders,

I stand corrected :)

Vinny

Edspace
06-30-2000, 04:00 PM
Cheers to both of you

Edspace

caislander
06-30-2000, 04:09 PM
Hi Vinny,

My comment about not using zero was not aimed at your post, only my own, and as is, it is I that must stand corrected. The marginheight & marginwidth tag will not achieve true zero margins, I use them because at the resolution of today's monitors a 2 pixel difference is unnoticeable. To get true zero you would have to use;

<body margintop="" marginbottom="" marginleft="" marginright=""> no argument is required to set margin to zero if done this way.
I rarely use this string because the default for most agents is already "0" top & bottom, so most time I just use marginwidth="2". Anyway one of the three ways should solve the problem..

Later :o