View Full Version : Is this a class...?


horse*chica
04-10-2004, 05:29 AM
I know you call specific classes by making a section in your css code that, for instance, looks like .class
Well, in a few posts I've seen codes that look like #whatevername
So what is this (the #class one) one for? Thanks :)

Rosey
04-10-2004, 06:16 AM
.whatever is a class, #whatever is in id. They work the same, just different names.

pb&j
04-10-2004, 07:21 AM
class
.whatever

id
#whatever

class is used when the effect will be used on many areas of your page coding.

id is used when the effect will be used on one instance (once only) of your page coding.

horse*chica
04-10-2004, 05:24 PM
Ahhh, I see. Thanks for clearing that up :)