Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Arabic page 1

Status
Not open for further replies.

DancingProgrammer

Programmer
Dec 12, 2004
2
SE
Hi

I am having too problems, first FireFox views my pages wich contains arabic fonts, while IE 6.0 SP2 can't show it and 6.0 (on Win98), have I declared the page wrong somewhere?

--------------
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 STRICT//EN"
"<html xmlns=" xml:lang="en" lang="en">
---------------


and another problem is the <ul> (list tag) how can I turn it to the other side to be right to left, the only thing I can do is text align, is there any other CSS code to switch it?

here is the page if you want to check it:

thnx in advance :)
 
Arabic language - try adding this meta tag:

Code:
<meta http-equiv="Content-Type"
   content="text/html;charset=windows-1256">

About the list problem - try this class:

Code:
<STYLE>
  .right2left {
    direction : rtl;
  }
</STYLE>

Regards


Jakob
 
Hi

thnx very much for solving problem 2 :)
problem 1 is my own mistake, I have encoded it to be UTF-8, so it really doesn't need to have Windows-1256, it should work, and you know what, it works :) the only problem is that, when I have declared <style></style> I have for some reason retyped <style> and forgot it, so IE just hanged their reading everything after it as a style :p THNX for your help :)
The CSS code really helped :)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top