[thelist] your opinion solicited on coding specs I requested from contractor

martin.p.burns at uk.pwcglobal.com martin.p.burns at uk.pwcglobal.com
Tue Oct 23 04:39:03 CDT 2001

Memo from Martin P Burns of PricewaterhouseCoopers

-------------------- Start of message text --------------------

To:   thelist at lists.evolt.org
Subject:  Re: [thelist] your opinion solicited on coding specs I requested
      from contractor

>the class name, like the markup, should be logical rather than physical.
>My pet peeve is classes like .smallred { } .. when I come back to
>implement a redesign I'm left with a load of non-sensical classnames. I
>would rather it be .note {} or .errorMsg {}, or something that tells me
>what the style is for, and not include presentation specifics.

Particularly as the presentational styling may change at a later
date, and you really, really don't want to have to go through all
your pages and change your markup from
<span class="smallred"> to <span class="smallorange">

>Similarly, don't uses classes when you really need IDs. If you are
>trying to distinguish unique page areas, name them logically and refer
>to them by ID
>e.g #primaryHeading {}

Hey Sam - could you expand on this a bit - when would you need classes
and when would you need IDs, and why?

(sounds like a good idea for an article for the site - hint, hint... )


--------------------- End of message text --------------------

This e-mail is sent by the above named in their
individual, non-business capacity and is not on
behalf of PricewaterhouseCoopers.

PricewaterhouseCoopers may monitor outgoing and incoming
e-mails and other telecommunications on its e-mail and
telecommunications systems.
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any

More information about the thelist mailing list