footer problem/space around the page

SOLVE
Occasional Contributor

Hello everybody,

I have a small problem I am doing a footer on my website  and when I look at the preview there is a space all around my page not only for the footer. And my footer has like a margin on the bottom. Here is my page in the design manager :Design managerDesign manager

And here is my CSS file: CSS FileCSS File

And you can take a look at the preview :PreviewPreview

In the pictures you can see the small areas around the content.

Could you please help me I don't understand how it works.

Thanks a lot for your answers,

Sinem.

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Highlighted
HubSpot Employee

Hi @Sinem

 

It looks like there might be a margin around your body tag that is causing the white space around your page.

 

You can try putting this in your CSS file to overwrite the margins: 

body { 
margin: 0;
}


Let me know if that works, and do share a link to your Preview Page if you're still having issues!

 

 

Reply
0 Upvotes
3 Replies 3
Highlighted
Regular Contributor

You can paste a url of the preview? 

 

 

Reply
0 Upvotes
Highlighted
HubSpot Employee

Hi @Sinem

 

It looks like there might be a margin around your body tag that is causing the white space around your page.

 

You can try putting this in your CSS file to overwrite the margins: 

body { 
margin: 0;
}


Let me know if that works, and do share a link to your Preview Page if you're still having issues!

 

 

Reply
0 Upvotes
Highlighted
Occasional Contributor

Hello @jieyintan 

It works ! Sorry I reply a little late but it works and thank you very much Smiley Happy !

Best regards,

Sinem.

Reply
0 Upvotes