Replacing class="alignright" etc Was: Re: [wp-hackers] Linking stylesheet to RSS feeds

Lynne Pope lynne.pope at gmail.com
Thu Jun 18 13:26:22 GMT 2009


2009/6/18 Matt Freedman <speedboxer at gmail.com>

> On Wed, Jun 17, 2009 at 12:34 AM, Lynne Pope <lynne.pope at gmail.com> wrote:
> > Nope, sorry, disagree. Having it simply as a class allows for easy
> > customisation. As it is, alignright and alignleft are styled differently
> for
> > global.css and RTL (where they get swapped around).
>
>
> I think he meant replace them just in the feeds, so they'll display
> correctly in feed readers.


The same argument applies - inline styles override user styles.User styles
in this case being the uniform UA implemented by feed aggregators as well as
the end user who may have styled their own reader experience.

Lynne


More information about the wp-hackers mailing list