9
One other thing you can consider is adding a div around your interface and giving it its own class or id (make sure your id is unique within the page). That way you can tweak things in your module's interface and override CSS from the theme if necessary. For example, you could implement a local CSS based menu. This way the custom CSS would only affect your interface.
Code would look like this:
Quote:
<div class="myModuleInterface">
<!-- markup for my interface -->
</div>
CSS would look something like this:
Quote:
.myModuleInterface input {
margin-bottom: 1em;
/* ETC... */
}
.myModuleInterface h3 {
margin-bottom: 1em;
/* ETC... */
}
Just try not to stomp on too many things that would be specified in the theme (like backgrounds, text colors, fonts etc.)