[thelist] CSS etiquette question
Lachlan Cannon
tiedefenderdelta6 at yahoo.com
Thu Jan 10 22:21:33 CST 2002
> hi there all you CSS gurus...
not quite a guru. yet ;)
> Just a little question of neatness and etiquette...
> If I have two <div> tags on a particular page type
> template which i'm going
> to hold some text, and which always need to be
> distinguished from one
> another, which of the following would be the best way to
> style them up:
>
This is purely personal preference, but if the element will
only be appearing once, I use the id, if it'll appear more,
I use the class. (just seems to make the most sense, to me)
=====
-------------------------------------------------------
"Have you ever attempted to be yourself, when everybody wants you to be someone else." - Powderfinger's Up & Down & Back Again
-------------------------------------------------------
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
More information about the thelist
mailing list