Compatibility tweaks for CSS