Finally fixed the css problem