They may not have been fighting by his side, but they were still fighting ON his side. So it would appear that each and every Slytherin student fought for Voldemort bar none, and the only Slytherins who fought against Voldemort were the teachers - Slughorn, openly, and Snape, covertly.