legend cannot be child of div