In one of the recent sites I’ve been working on, I found that a bit in the sidebar wasn’t applying the appropriate css and pushed the site out further, leaving a little gap. After trying different css tricks I found that the true problem was this:
[!– Run on view –]
A comment which gets put above the doctype after our cms system includes certain files. I took that stubborn comment out and the alignment problem is fixed.