Jump to content
19/12/2011
Hi Jonathan,
Great article!
One thing I’d mention is the fact that using the same value for left/right offsets does the magic on relatively positioned elements.
For example this styling:
.myBox { left: 50px; right: 50px;}
Should move the box to the left in a LTR context and to the right on a RTL context. No need to rely on an attribute selector or anything…
Vote up?
19/12/2011
Hi Jonathan,
Great article!
One thing I’d mention is the fact that using the same value for left/right offsets does the magic on relatively positioned elements.
For example this styling:
.myBox { left: 50px; right: 50px;}
Should move the box to the left in a LTR context and to the right on a RTL context.
No need to rely on an attribute selector or anything…