Fixed issues with css setup and corrected layout errors