style fixes for IE9+ and Firefox