fixes to styling, cross-browser fix