how to use Align property

Posted by Skaftabali under CSS 3 on 11/7/2010 | Points: 10 | Views : 1584 | Status : [Member] | Replies : 3
Hi,



i have a table.In this table i use one back button.
like
<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">
</asp:LinkButton>

</td>
</tr>
</table>
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 botton.
Pls help me its very urgent




Responses

Posted by: Vuyiswamb on: 11/7/2010 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
i am not sure if i understand your problem, but you can look at this
http://www.w3schools.com/Css/pr_pos_vertical-align.asp
http://www.w3schools.com/CSS/pr_text_text-align.asp

http://www.quackit.com/css/css_align.cfm

Thank you for posting at Dotnetfunda
[Administrator]

Skaftabali, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suresh.mekkattil on: 1/10/2011 [Member] Bronze | Points: 25

Up
0
Down
HI,

If you change the UICulture to the arabic the button is automatically aligned to its position

-----
Suresh M

Skaftabali, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 1/10/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
May use of the culture provided with the framework...

sample
LabelLocalization.aspx.ar.resx. The culture-specific resource file, (Arabic)


Thanks
Karthik
www.f5Debug.net

Skaftabali, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response