Patrick H. Lauke wrote:
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 ;) )

Probably :-) ;

I have a bit of CSS I use when placing images amongst a block of text. Usually this involves around 6 images and a couple of pages (maybe) of text. I use this:

img { border : 1px solid #000000; }

.img-left {
   float: left;
   text-align: center;
   background: white;
   margin : 10px 20px 10px 0px;
}

.img-right {
   float: right;
   text-align: center;
   background: white;
   margin : 10px 0px 10px 20px;
}

Clearly, this is a candidate for renaming (from what you say) but:

1) It's clear what it's for (semantic?), and
2) I find it really difficult to think of an alternative! (.lhs is no better, and ".fjy329" is just nerdy gibberish )

So, would you criticise this as 'not best practice'?

Genuinely interested in all this,

--
Best Regards,

Bob McClelland

Cornwall (UK)
www.gwelanmor-internet.co.uk




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

Reply via email to