<?= $this->doctype();// xhtml = strict ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo $this->headTitle(); ?>
<?php echo $this->headMeta(); ?>
<?php echo $this->headScript(); ?>
<?php echo $this->headLink()->prependStylesheet('/css/production.css'); ?>
<link rel="shortcut icon" href="/img/pageicon.png" type="image/x-icon" />
<link rel="alternate" type="application/rss+xml" title="We care Arab Page" href="/rss.xml" />
</head>
<body>
!!!!!! everything need right to left, where default page is english (left to right).!!!!!
</body>
</html>
Follow up:
$this->view->headMeta()->appendName('Language','en');
This is not related to DIR
http://www.w3.org/TR/REC-html40/struct/dirlang.html This is a solution actually
It works
< html xmlns="http://www.w3.org/1999/xhtml" lang="ar" dir="RTL" >
ZF-> How do you assign it from MVC controller ?
< html xmlns="http://www.w3.org/1999/xhtml" lang="ar" dir=< ?= $this->rtl; ? > > ???
tried 2 suggestion
< body style="direction:rtl;" > OR < html xmlns="http://www.w3.org/1999/xhtml" lang="ar" dir="RTL" >
No comments:
Post a Comment