Reno
Reno

Reputation: 1319

Issue with css { direction: rtl }

I made example here: http://jsfiddle.net/6CRc7/2/ I am trying to make timer from other side. But direction: rtl; doesnt work dir="rtl" also.

Upvotes: 0

Views: 3330

Answers (2)

Opentuned
Opentuned

Reputation: 1517

I think there maybe some confusion about the purpose of direction: rtl, as I am aware this only applies to text in a div, used to display languages such as arabic which read from right to left, I think you are just trying to arrange your span tags in reverse order so it displays seconds, mins, hours? Or have i misinterpreted your question?

See here for a basic example... http://www.w3.org/TR/CSS2/visuren.html#direction

Upvotes: 0

Tomer Cohen
Tomer Cohen

Reputation: 374

The float in .countdown_section is what controlling the order of the fields, so if you'll change it value to right you'd get it as ss:mmm:hh:dd, but keep in mind that while RTL text is written from right to left, numbers, are written from left to right as you'd expect from regular latin content.

Upvotes: 1

Related Questions