trimPath, reset CSS