How do I want my table starts from the top on html

Hi all,

I have one table but I want it starts from the top of my webpage… There is a gap between the table and the top…

I found these codes…


<body style="margin: 0; padding:0;">

But still not very close to the top.

Hope anybody can help me.

Thanks in advance

You should set the margin and padding to zero on your table as well.


table {margin:0; padding:0;}

Tqvm…:slight_smile: