I'm using html2pdf and I want to get rid of the top and left margins using css but I can't. Before output buffering margin is already set to 0, it works on html but when I convert it to pdf using html2pdf the top and left margins appears again.
Here's my current css.
body {
margin: 0;
padding: 0;
}
#box {
margin: 0;
padding: 0;
width: 803px;
height: 1400px;
border: 1px solid #000;
}
Please help.