Set a border for the elements