1

I'm trying to make the table wide from border to boarder but it didn't went as expected. Bellow is an example

<table  style="width: 100%;" cellspacing="0" cellpadding="0" border="0" width="100%" align="center">
<tr>
<td bgcolor="$bordercolor">
&nbsp;</td>
</tr>
</table>

I want the table to start excatly from the boarder of the page but there is still a little space, the white space, before it begins. You know why? Attached picture

Sultan
  • 75
  • 5
  • Does this answer your question? [How wide is the default \`\` margin?](https://stackoverflow.com/questions/13127887/how-wide-is-the-default-body-margin) – Liftoff May 25 '22 at 21:48

1 Answers1

1

I'd suggest trying the below;

html, body {
    height:100%;
    width:100%;
    margin:0;
    padding:0;
}

Here's an example: https://jsfiddle.net/x1tvohas/

Ben
  • 82
  • 6