normalise css and reconfiguration