I had main inside #wrapper, which cocked up the footer border. I R idiot.