--- Designer <[EMAIL PROTECTED]>
wrote:

> .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'?

I think the point is that if you decided to change the
left images to the right/top/bottom/etc it would no
longer be semantic, and would potentially be confusing
for you later on, or anyone else looking at your
stylesheet/html.

I agree that when working on big projects it becomes
increasingly difficult to come up with class/id names
that are semantic and not descriptive. there are
countless solutions ppl could come up with (img.first
and img.second ???).

L-J


                
___________________________________________________________ 
Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo 
http://uk.photos.yahoo.com


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

Reply via email to