Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ASP.NET
<div class="art-layout-cell layout-item-1" style="width: 100%;">
    <div class="art-layout-cell layout-item-4" style="width: 30%;">
        <asp:Label ID="label_CompanyName" AssociatedControlID="txt_CompanyName" runat="server" Text="Company Name:" meta:resourcekey="label_CompanyNameResource1" />
    </div>
    <div class="art-layout-cell layout-item-4" style="width: 60%;">
        <telerik:RadTextBox ID="txt_CompanyName"  runat="server" SelectionOnFocus="SelectAll" Width="80%" Text='<%# Bind("CompanyName") %>' LabelCssClass="" LabelWidth="64px" meta:resourcekey="txt_CompanyNameResource1">
            <HoveredStyle Font-Bold="True" ForeColor="#FF3300" />
            <EnabledStyle BackColor="Azure" PaddingRight="10px" />
        </telerik:RadTextBox>
        <asp:RequiredFieldValidator ID="CompanyNameRequired" runat="server" ControlToValidate="txt_CompanyName" ErrorMessage="*" ForeColor="Red" ValidationGroup="CompanyGroup" meta:resourcekey="CompanyNameRequiredResource1" />
    </div>
</div>




The above is the div for one row which contains a label and a textbox. What i'm
looking is can i flip the when the direction is changed from ltr to rtl or else any other options?


**plz tell me how can i add images to this question?


with Regards
Posted
Updated 1-Jan-14 20:48pm
v2
Comments
Kornfeld Eliyahu Peter 2-Jan-14 2:44am    
Why swap?
When you change the direction of the container div the browser will reorder it's content according the direction - visually.
I mean that label always will be first - once from the left and once from the right side...
Try it and see!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900