text-align: right -> direction: rtl #23

Merged
merged 1 commit into from Nov 8, 2012

Conversation

Projects
None yet
2 participants
Contributor

nagaozen commented Nov 8, 2012

direction:rtl replaces text-align:right with the advantage of being coherent with text-indent.

text-align: right -> direction: rtl
direction:rtl replaces text-align:right with the advantage of being coherent with text-indent.
Owner

fabiomcosta commented Nov 8, 2012

Do you know if the browser support for this is good?

Contributor

nagaozen commented Nov 8, 2012

Well, direction as a css property is the around since late 1997 ( See: http://www.w3.org/TR/WD-CSS2-971104/css20.txt ). It should be well implemented in the major browsers by now, specially because it's a required feature to support some languages like arabic, persian, hebrew...

Contributor

nagaozen commented Nov 8, 2012

Found a relevant site: http://reference.sitepoint.com/css/direction#compatibilitysection

Compatibility between browsers (IE, FF, Safari, Opera and Chrome) is 100%.

Owner

fabiomcosta commented Nov 8, 2012

that's great! thx man!

fabiomcosta added a commit that referenced this pull request Nov 8, 2012

Merge pull request #23 from nagaozen/patch-3
text-align: right -> direction: rtl

@fabiomcosta fabiomcosta merged commit 7d12a05 into fabiomcosta:master Nov 8, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment