Tuesday, August 20, 2013

CSS text direction

<html>
<head>
<style type="text/css">
div.ex1 {direction:rtl}
</style>
</head>
<body>

<div>Some text. Default writing direction.</div>
<div class="ex1">Some text. Left-to-right direction.</div>

</body>
</html>

Result

 

No comments: