final html and css fixes for var