adjusted css and templates to work with different browsers