G
Guest
Hi All,
I have a Right to Left web page with asp.net 2.0 containing a horizontal menu.
The menu is right to left as the page.
The problem is the submenu items or the dynamic menu items are not aligned
right, so the menu has a bad shape.
-------------------------------------------------------------
This is the source code of the page:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="Test_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body style="direction: rtl">
<form id="form1" runat="server">
<div>
<asp:Menu ID="Menu1" runat="server" BackColor="White" Font-Size="XX-Large"
Orientation="Horizontal">
<StaticMenuItemStyle BackColor="#FFC0FF" />
<DynamicMenuItemStyle BackColor="#FFC0FF" />
<Items>
<asp:MenuItem Text="ملÙ" Value="ملÙ">
<asp:MenuItem Text="ÙتØ" Value="ÙتØ"></asp:MenuItem>
<asp:MenuItem Text="Ù‚ÙÙ„" Value="Ù‚ÙÙ„"></asp:MenuItem>
<asp:MenuItem Text="جديد" Value="جديد"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="تعديل" Value="تعديل">
<asp:MenuItem Text="نسخ" Value="نسخ"></asp:MenuItem>
<asp:MenuItem Text="قص" Value="قص"></asp:MenuItem>
<asp:MenuItem Text="لصق" Value="لصق"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="ادراج" Value="ادراج">
<asp:MenuItem Text="نص" Value="نص"></asp:MenuItem>
<asp:MenuItem Text="ملÙ" Value="ملÙ"></asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
</div>
</form>
</body>
</html>
I have a Right to Left web page with asp.net 2.0 containing a horizontal menu.
The menu is right to left as the page.
The problem is the submenu items or the dynamic menu items are not aligned
right, so the menu has a bad shape.
-------------------------------------------------------------
This is the source code of the page:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="Test_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body style="direction: rtl">
<form id="form1" runat="server">
<div>
<asp:Menu ID="Menu1" runat="server" BackColor="White" Font-Size="XX-Large"
Orientation="Horizontal">
<StaticMenuItemStyle BackColor="#FFC0FF" />
<DynamicMenuItemStyle BackColor="#FFC0FF" />
<Items>
<asp:MenuItem Text="ملÙ" Value="ملÙ">
<asp:MenuItem Text="ÙتØ" Value="ÙتØ"></asp:MenuItem>
<asp:MenuItem Text="Ù‚ÙÙ„" Value="Ù‚ÙÙ„"></asp:MenuItem>
<asp:MenuItem Text="جديد" Value="جديد"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="تعديل" Value="تعديل">
<asp:MenuItem Text="نسخ" Value="نسخ"></asp:MenuItem>
<asp:MenuItem Text="قص" Value="قص"></asp:MenuItem>
<asp:MenuItem Text="لصق" Value="لصق"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="ادراج" Value="ادراج">
<asp:MenuItem Text="نص" Value="نص"></asp:MenuItem>
<asp:MenuItem Text="ملÙ" Value="ملÙ"></asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
</div>
</form>
</body>
</html>