Darrel O'Pry wrote: <snip>
Well the idea of sensible is a consensus of whats right and a best practices page :)... Not really a standard, but a set of suggested guidelines would be very nice.
Right...
Not sure if this is really on topic, since I'm coming in the tail end of the conversation.
Personally I think there should be a set of standard css classes.... something like...
Actually, Eric Meyers discussed this concept here: http://meyerweb.com/eric/thoughts/2004/06/26/structural-naming/
We actualy have a lot of these implemented in the CivicSpace Theme.
.bg-color-primary, .bg-color-compliment-1, .bg-color-compliment-2 .text-color-primary, .text-color-compliment-1, .text-color-compliment-2 .wrapper, .box, etc..
Someone with a better grasp of color theory, css, and drupal theming would probably be a better candidate for working that out...
I'm all for trying to stay within standards without trying to create our own proprietery Drupal naming scheme.
Then suggest to module developers where/how these default classes should be used, and to include a module-specific class in the class tag...
ie)
<div class='.box .box-$module'>
class=".box" ? I didn't know that was legal?
Trae
</div>
Along with encouraging heavy use of span and div in place of traditional html elements.
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes