[thelist] Direction of Text

Judah McAuley judah at wiredotter.com
Tue May 28 17:42:01 CDT 2002


Note also that you should specify a lang attribute for the document.

<html dir="rtl" xml:lang="ur" lang="ur">

Lang is actually deprecated in favor of the xml:lang attribute.  I
include it for backwards compatibility.  "ur" is the code for Urdu.

Judah

Hassan Schroeder wrote:

> Example --
>
> <html>
> <head>
> <title>right to left</title>
> <style type="text/css">
> html, p {
> 	direction: rtl;
> 	unicode-bidi: bidi-override;
> 	}
> </style>
> </head>
> <body>
> <p>
> 	now is the time for all good people to ...
> </p>
> </body>
> </html>
>






More information about the thelist mailing list