I agree. The logical properties are probably what you are looking for. This should come in handy as well : http://www.w3.org/TR/css-writing-modes-3/#logical-to-physical On Tue, Nov 24, 2015 at 2:32 PM, Sebastian Zartner < sebastianzartner@gmail.com> wrote: > On 24 November 2015 at 07:57, Mats Blakstad <mats.gbproject@gmail.com> > wrote: > > Yes, but even if you have a RTL language it doesn't mean that you want > > everything on the page to float right. You just want to to float > opposite of > > the LTR language. > > > > Let me give one example: A theme have 2 sidebars: One sidebar with menu > > ("First sidebar") and a second sidebar with advertisements ("Second > > sidebar"). > > > > In LTR languages you want "first sidebar" to go to left, and second > sidebar > > to go to right. > > > > In RTL languages you want "fist sidebar" to go to right, and second > sidebar > > to go to left (opposite). > > > > You want one of them to float "first" and the second to float "last". > Not to > > make everything in same direction, but everything in opposite directions. > > Looks like what you're looking for is defined here: > > https://drafts.csswg.org/css-logical-props/#float-clear > > Sebastian > -- __________________________ Thanks and Regards, Praveen Puglia Twitter <https://twitter.com/praveenpuglia> | Google Plus <https://plus.google.com/u/0/+PraveenPuglia/posts> *"Code is Poetry"*Received on Tuesday, 24 November 2015 16:09:02 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:58 UTC