Use correct input for side and bottom margins