Re: 'float: before' and 'float: after' for easier styling of RTL languages

Would it be better to have a property like 'float-direction' in css and
have values like "rtl" / "ltr" OR "to right"/"to left" ?

On Tue, Nov 24, 2015 at 5:51 AM, Mats Blakstad <mats.gbproject@gmail.com>
wrote:

> Hi
>
> Is it possible to simplify floating of RTL languages?
>
> RTL languages changes the meaning of "left" and "right". Extra stylesheets
> are needed for RTL languages to make floating correct, it takes time to sit
> and revert all floating.
>
> It would be easier if we could make elements float "before" or "after",
> and then make it always float in correct directions depending on the dir
> attribute (dir="rtl" or dir="ltr").
>
>

Received on Tuesday, 24 November 2015 16:09:02 UTC