My my, if only I had a penny for every time this topic of conversation was brought up on the list :p

Patrick is correct however in the "standards evangelist" sense ;) p.indent describes the action of the class (what in x months time, i decided that i didnt want to indent it, but colour it blue instead). On the other hand, p.first describes the element itself (its always going to be the 1st paragraph unless the html order is changed... or if you do some odd absolute positions... although that wont make any difference to a screen reader or a non-css enabled browser) :)

David.

Patrick H. Lauke wrote:
Mike at Green-Beast.com wrote:

I would come up with something that meant something to me and that made sense. "Indent" really wasn't bad, though. In the CSS it would have been written as #description p.indent { } which really is quite telling as to what it is, where it is, and what it's for. Agreed?

Maybe it's philosophical hairsplitting, but "indent" still describes the visual effect you're trying to achieve, rather than being a name describing either the function or a characteristic of the content itself. IMHO "first" falls under that second category (it's an attribute of the content "this is the first of something" in the absence of consistent :first-child support). "indent" however is just the same as class names like "red", "centered", "bold", "big", etc which should really be avoided, as they are relating purely to the presentational aspects and not related to the pure content itself.

Again, IMHO.

P (probably sounding like a grumpy old class name evangelist ;) )


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to