Content-Type problem

When a defualt content-type is added I cannot use css files. So I added a code that only a default content type is added when no one exists.