direction

direction

CSS direction Property
The CSS direction property is used to specify the writing direction in an element. It also affects the direction of a table column layout, as well as the horizontal content overflow direction of an element.
CSS CODE EXAMPLE
<style type="text/css">
#div1 { direction: ltr; }
#div2 { direction: rtl; }
#div1, #div2{
    width: 240px;
    background: #FEEAAB;
    padding: 12px;
    margin: 12px;
}
</style>
<div id="div1">My DIV content.</div>
<div id="div2">My DIV content.</div>
 
My DIV content.
My DIV content.

Possible Values:

ltr ━ rtl

Related Properties

unicode-bidi

0 Response to "direction"

Post a Comment