[UPHPU] More CSS frustration
Joshua Simpson
std3rr at gmail.com
Wed Jan 17 09:30:28 MST 2007
On 1/17/07, Scott Hill <llihttocs at gmail.com> wrote:
>
>
> I know I said one question but I can't resist. Just one more question.
> What are the guidelines for using the id or class attributes? When should
> you use one instead of the other? In other words, why not use all ids or
> all classes? What are the pros and cons of each? (Sorry, I got carried
> away. That's more than one question)
AFAIK, classes are used for non-unique elements, while ids are used for
unique elements.
More information about the UPHPU
mailing list