'writing-mode' Example : writing mode « CSS « HTML / CSS

HTML / CSS » CSS » writing mode 
'writing-mode' Example

    
<html>
<body>
<div id="myD" 
     style="width:100%; background-color:beige;">
This is sample text.
txet elpmas si sihT.
</div>
<br>
<input type="button" 
       value="Set writingMode property to tb-rl" 
       onclick="myD.style.writingMode='tb-rl'">
<input type="button" 
       value="Set writingMode property to lr-tb"
       onclick="myD.style.writingMode='lr-tb'">
</body>
</html>

    
      
      
Related examples in the same category
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.