CSS fixes: improved compatibility with previous CDF versions