Understood, really useful.
Thanks a lot!
Eugenio.

On 8/1/06, Micky Hulse <[EMAIL PROTECTED]> wrote:
(...)
"When naming your IDs and classes, it is important that you keep the
names as meaningful and "un-presentational" as possible. For insatnce,
you could give you section navigation an ID of rightHandNav as that is
where you want it to appear. However, if you later choose to position it
on the left, your CSS and (X)HTML will go out of sync. Instead, it would
make more sense to name the element subNav or secondaryNav. These names
explain what the element is rather than how it is presented. The same is
true of class names. Say you want all your error messages to be red.
Rather than using the class name red, choose something more meaningful
like error or feedback."

Hth?
Cheers,
Micky


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to