How to remove strange big margin around pages in firefox?
If you don't find any solution to the problem, a strong method is to save your bookmarks, uninstall Firefox completely,clean up all its folders and re-install it.
This should get rid of any unintended settings.