This question may sound a bit weird/novice/stupid. Please bear with me.
The below code is a small portion of a webpage I have created using CSS, HTML and coldfusion.
Use the pseudo-class :not():
.myStyle:not(.classWhereYouDontWantToApplyTheStyle) { ... }