Optimized CSS and fixed rootpage determination