style fixes for cross-browser issues