added css and fixed syntax error