At 06:35 AM 8/16/2006, TuteC wrote:
Fast OT: It is not desirable to assign ids to each part of the site,
is it? Don“t want to open a new discussion, just a question.
You should give an id or class to enough elements
that you can point unambiguously to every element
on the page that needs individual styling or
behavior. This doesn't mean giving an id to
everything; it's often possible to uniquely
identify elements when they are a unique tag
within a unique context, for example the only ul
in div#header, the only p.byline in div#title, etc.
There's nothing technically incorrect about
giving every element on the page an id. For most
production pages, it would merely be considered
redundant and inelegant by many coders. But it
depends on your long-term goals. For example the
CSS Zen Garden, a hotbed of CSS expertise,
features a densely encoded page because the
intention is for it to be radically and frequently reskinned.
Regards,
Paul
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************