L-J Lacey wrote:
--- Designer <[EMAIL PROTECTED]>
wrote:
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 think this particular instance is a very tricky one.
in any document an illustrative inline image needs to be given a position.
The choices are left aligned or right aligned (top and bottom doesn't
come into it for these sorts of images in my experience)
I've struggled with this conundrum on many occasions and as it's a
binary decision - is the image inserted to be left or right aligned and
it has nothing to do with what the image is and more to do with will it
work aesthetically. I've always ended up with img.left or img.right as
class names. Now I agree that one might decide to make all the img.lefts
float right for some obscure reason, but its much more likely that you'd
edit the html to switch one image from right to left.
My struggle is that I can't see how you could make a meaningful class
name when the sole purpose of the class is to impart direction on the
element.
can anyone suggest anything meaningful?
;o)
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************