It’s easier to say what they have in common: the direction of the settings: ltr and direction: rtl implies the default alignment by default: left and text-align: right, respectively.
Other more fundamental effects of directional properties are:
- The direction of the text for text with neutral text (as defined by the concepts of Unicode directivity, for example, letters have an inherent neutrality that is not affected by the direction property, unless it is redefined using the unicode-bidi property).
- The direction of the location of the blocks that appear side by side.
- The direction of the columns in the table.
- The direction of horizontal overflow.
- Alignment direction for the last line of text when aligning text: alignment affects.
- Placement of list markers (list of markers or list item numbers) in relation to list items.
For example, if you want to play with the direction: rtl on the UL element to place the bullets in the list on the right, for normal English you should set the direction: ltr on LI elements to avoid spoiling the direction of the text (when the text contains, for example, punctuation marks).
Jukka K. Korpela
source share