Thanks for the response mercime, but you obviously haven't read my problem.
My code is working for all of the site, including 404's where i try and view a blog post that isn't there.
When i try and view a category that I have added via admin, but not posted in, nothing shows up. I expect to get a 404 but nothing.
This also happens in the default theme.
Is this normal??
I would expect my visitors to get at least a 404 telling them there is no content matching their query, not nothing!
When I view: /category/gallery/ I get a list of posts with category.php, as I have posted to this category.
When I view: /category/gallery/fine-art/ I get nothing, even though the category exists in admin. I expect a 404 as I have no posts in the category.
Does this make sense now? Does anyone know what is wrong??