main page formatting.