Sent by Donna Casey on 24 July 2003 00:12
:
: > - Classes and IDS should never be an adjective or infer placement as a
: > future redesign may not place the item in the same spot, or use the same
: > background color. So, instead of using an ID of "TopBox", use an ID
: > specific to its contents, perhaps "GlobalNav".
:
Yes, I often run into the argument about "descriptive" naming conventions--I
say, there's descriptive (what it looks like) and then there's descriptive
(its function) ... which is going to be more useful next year when the look
of the site has changed? This is true in css just as it is with frames and
just as it is with database tables and field names and just as it is for
functions.
Donna
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/