As I understand it, this is technically valid although potentially confusing. I have heard of the
terms "regular class" and "generic class" used to describe classes where an HTML element is
specified within the CSS rule (p.classname) whereas a generic class does not specify an HTML element
such as .classname. Because of the specificity, each instance of the class name in your example are
considered to be separate.
Original Message -----------------------
The following question may be a very fundamental, but I have never had a
reason to consider it until now. It is possible to create 2 or more classes,
within a single stylesheet, that use the same name, but that contain
different attributes and that apply to different elements?
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/