When you place the webpart on a template, in the HTML before and after wrap it with a < div class="yourname"> and they style it that way. Then you can prefix your particular styles with your class name and still use the built in class names assigned in the webpart.