Set the same height or width for elements