Table won't go 100% wide

Issue

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

Solution

I’d suggest trying the below;

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

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

Answered By – Ben

Answer Checked By – Marie Seifert (AngularFixing Admin)

Leave a Reply

Your email address will not be published.