CSS compatibility fixes