Karl DeSaulniers wrote:

> Ah I see. Well normally you wouldn't put an ID on the body anyways, you would 
> put a class wouldn't you? That is if your trying to style it.

Personally I would not (recommend a class in preference to an ID
in order to apply styling to the <BODY> element, that is).

The normal reason for choosing a class in preference to an ID is
to allow that class to be shared amongst multiple elements.  Since
there is (by definition) exactly one <BODY> element, and since it
is highly unlikely that any other element should be styled
identically to the <BODY> element (in all aspects, that is,
not just in some aspects such as the choice of font-family),
then I would have thought that an ID was to be preferred so
that one can ensure that it is not accidentally applied to
another element.

Philip Taylor
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to