set view markup and css adjustment