On 09/12/05, Dougal Campbell <[EMAIL PROTECTED]> wrote:
> Andy Staines wrote:
> > Is there a case for including in the core a VERY SMALL set of CSS defs?
> > Like alignleft/alignright... Not keen on the idea but it would work for
> > a large number of people
>
> Names like "alignleft" and "alignright" are presentational in nature. I
> know I've seen a good article on this subject, but I can't seem to
> locate the one I had in mind. However, here are a couple of links that
> touch on the topic:
>
>    http://tantek.com/log/2002/12.html#L20021216t2238
>    http://meyerweb.com/?s=presentational
>

A less explicitly presentational approach I read recently (in Dan
Cederholms's new book) was to have a single class 'alt' (for
alternative) which you assign to some of your images.

Then in your theme you have one rule for all images, say aligned left,
and another rule for images with the alt class, probably aligned
right.

Later if you change the default to be non aligned (or floated) with an
orange border, and the alternate to be floated right with a green
border, your class name is still 'correct'. it is an alternative to
the default.

Mike
--
Mike Little
http://zed1.com/journalized/
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to