api16- made more css changes. Fixed a possible error in the code