Not sure why you are floating your anchors? Is it to get them all on the same line? Because that’s default inline behavior (which anchors take advantage of.)
Remove the float:left on #footer a{}. Any issues that arise now, we can handle. However I saw nothing break when I did that so it’s probably safe.
I do notice that maybe you did it to achieve the ability to use vertical paddings or margins on the #footer a{}? That’s the only thing I can see. If that’s the case, yes do remove the float:left; but add display:inline-block in its place.
Part of the issue is the white space in the HTML. The anchors (since they are inline elements) need to be up against each other in hte HTML to reduce white space. That fixes Some of the space.
The rest of the space is due to the 10px left padding you set on #footer a{}
If you want that 10px to only target certain anchors, then you need to specify that.