'direction' Example : direction « CSS Attributes and Javascript Style Properties « HTML CSS Reference

HTML CSS Reference
1. CSS Attributes and Javascript Style Properties
2. HTML Attributes Reference
3. HTML Tag Reference
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
HTML CSS Reference » CSS Attributes and Javascript Style Properties » direction 
'direction' Example

    
<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"
<div id=myDiv 
     style="background:aqua; padding:10px;" class="explanations">
Level is Level. </div>
</body>
</html>

    
      
      
Related examples in the same category
1. 'direction' Syntax and Note
2. 'direction' Possible Values
3. 'direction' is applied to
w_w_w__._j_a__va___2__s_.c___om_ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.