Correct indentation and close all div tags.