beauty the template view using css