如何在html中使用align [英] how to use align in html

查看:207
本文介绍了如何在html中使用align的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我有一张桌子,在这个桌子上我使用了一个后退按钮:

Hi,


I have a table, in this table I use one back button:

<table style="width:auto" cellpadding="10" cellspacing="10">
   <tr>
       <td width="60px" class="forback"></td>
           <td width="60px" class="forback"></td>
           <td width="300px" class="forback"></td>
           <td width="78px" class="forback"></td>
           <td width="100px" class="forback" style="border:1px solid red">

           <asp:Image ID="Image2" runat="server"
            ImageUrl="~/images/arrowEn.gif" Height="10px" Width="15px"/>

            <asp:LinkButton ID="lblbackcomn" runat="server" Text="<%$ Resources:Homemaster,lblbackcomnltr%>"  onclick="lblbackcomn_Click">


     </td>
 </tr>
 </table>


这是我在CSS中使用的课程项目
.forback {float:right; text-align:right;}
单击阿拉伯语按钮时,我想更改该按钮的方向.
[Keith Barrow Edit]:转义的html字符.


this is class item i used in css
.forback{float:right; text-align:right;}
I want change direction of that button when I click Arabic button.
[Keith Barrow Edit]: escaped html characters.

推荐答案

资源:Homemaster,lblbackcomnltr%>"onclick =" lblbackcomn_Click> </td> </tr> </table>
Resources:Homemaster,lblbackcomnltr%>" onclick="lblbackcomn_Click"> </td> </tr> </table>


这是我在CSS中使用的课程项目
.forback {float:right; text-align:right;}
单击阿拉伯语按钮时,我想更改该按钮的方向.
[Keith Barrow Edit]:转义的html字符.


this is class item i used in css
.forback{float:right; text-align:right;}
I want change direction of that button when I click Arabic button.
[Keith Barrow Edit]: escaped html characters.


您需要告诉HTML它的工作方向.在许多HTML中,您可以设置:

You need to tell the HTML which direction it is working in. In many HTML you can set:

<tag dir=''RTL'' />



要在整个页面上执行此操作,"标记"应为"html"

这看起来对HTML方面很有帮助:
http://www.i18nguy.com/markup/right-to-left.html [ ^ ]
您还应该查看ASP.net本地化,它将为您省去痛苦的世界:
http://www.codeproject.com/KB/aspnet/AspNetLocalization.aspx [ ^ ]



To do this for the whole page, "tag" should be "html"

This looks helpful for the HTML side of things:
http://www.i18nguy.com/markup/right-to-left.html[^]
You should also look at ASP.net localization, it will save you the world of pain:
http://www.codeproject.com/KB/aspnet/AspNetLocalization.aspx[^]


您可以使用javascript,您所需要做的就是使用document.getElementById ..获取ID.获取ID后,您可以更改方向
you can use javascript,all you need is to get the id by using document.getElementById..after geting the id you can change the direction


这篇关于如何在html中使用align的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆