Why are these CSS changes needed?