Thursday 19 July 2012

How to set Set the text direction of an element in css


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

<div>Default writing direction.</div>
<div class="ex1">Right-to-left direction.</div>

</body>
</html>

0 Responses to “How to set Set the text direction of an element in css”

Post a Comment