properly close a </div>