Making css well formed