Hi Natalie

I achieve this with using multiple classes on the object eg
class="borders floatR" or just class="floatR" for those that don't
need the border, but must float.
Is there an issue with this method or have a missed the point of your post?



I have used the exact method you describe, and I likewise wondered about the issues.

It comes down to a couple of things ( other WSG member might add to this too )

Usually the elements you are styling like this are groups of images or groups of other similar elements.

If you need to alter the position of one you have to edit the markup and that feels a bit like presentation in the markup.
If you want to alter the complete group then you could edit the CSS, but now your naming is wrong "floatR" should be "floatL" for example, Then you really should to do a global search replace in the markup to get it straight.


Though there is a case for this in relation to reducing CSS redundancy.

Regards
Chris Blown

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to