Remove extra padding and margins; convert everything to rows and columns