Added link and maincontent IDs and adde d styles to them.