Changing css inline method to make it compatible with get view