HTML/CSS/CSS Attributes and Javascript Style Properties/direction — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:16, 26 мая 2010
"direction" Example
<source lang="html4strict">
<html> <body> <input type="button"
onclick="myDiv.style.direction=event.srcElement.value;" value="rtl">
<input type="button"
onclick="myDiv.style.direction=event.srcElement.value;" value="ltr">
Level is Level. Leve is not Level. Not is toN
</body> </html>
</source>
The direction Property
<source lang="html4strict">
Value Meaning ltr The text flows from left to right. rtl The text flows from right to left. inherit The text flows in the same direction as its parent element.
</source>