div containers are cleared immediatly before rendering begins