Why are there gaps in this website I’m working on? I’ve tried setting margins, padding etc. to 0px but nothing seems to affect it.
Edit – apologies; I screwed up the link to the website. This is now fixed.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You may have inserted some styles you have forgotten about. Judging from the pic I would assume your html would look something like this like this
your nav links or list items look as if they have a margin of 5px, and your div looks like it has top and bottom margin of 20px. Try to add this to your elements your are trying to fix to troubleshoot.
This should override any css styles preceding that may be conflicting. If it doesn’t work then we need to see code to help troubleshoot further.
[UPDATE]
You should declare a DOCTYPE instead of simply putting html tags. center tags are deprecated.
To fix your spacing try this:
You changed the padding and margin to 0 but added it again in your ul. The hr tag was causing some of your spacing, and the heading tag was causing the rest.