Christian Heilmann wrote:
this is off-topic though and better suited for the evolt list
<moderator>Indeed, most of this discussion was very much off-topic.
Please confine crusades to the off-list community.
Thanks.</moderator>
To respond to the concerns of the original post, the one pitfall I
can see in developing CSS with only classes is the potential for
conflicting declarations. In general, if one is using IDs, it is
easy to write things like:
#content a.external {color: blue;}
p.first a {color: green;}
You know that the first rule will always apply because of the ID. If
the first rule uses a class instead of an ID, however, and the rules
still appear in that order, the second rule will override the first,
and your external link in the first paragraph will now be
misleadingly green.
So when using only classes, you will need to be very careful about
specificity and rule conflicts. It will be a much more "dangerous"
environment to work in, and will make later changes to the code more
difficult, as they will be more likely to conflict with existing
rules. However, careful development practices could make it work. I
do agree with Christian, though, that it would be good to get with
the developers and see if you can't designate a few structural IDs
that could be used for styling. If they agree, that will help you a
lot. If they don't, you are covered when a later, last-minute change
breaks the display.
Good luck,
--
-Adam Kuehn
CSS-D List Moderator
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/