Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello expert,
I am using a htmlEditorExtender on a textbox in my page.code is
C#
<asp:TextBox ID="txt_ImpCat1" runat="server" Rows="5" TextMode="MultiLine"
                                   Width="95%"></asp:TextBox>
                               <asp:HtmlEditorExtender ID="txt_ImpCat1_HtmlEditorExtender" runat="server"
                                   Enabled="True" TargetControlID="txt_ImpCat1" >
                                   <Toolbar><asp:InsertOrderedList  /></Toolbar>
                               </asp:HtmlEditorExtender>


My problem is when i start entering text ,It start in middle of text box .But i want to start with left . How to solve this problem , please help

Thanks

no issue with text box if i write in textbox then it is left align but if i write by HTMLEditorExtender then it is shown in center... issue in if i use HTMLEditorExtender

plz help
Posted
Updated 26-Mar-14 22:14pm
v4

1 solution

By default, the text will be left aligned. Check whether any other CSS class is effecting this behavior.
 
Share this answer
 
Comments
ErBhati 26-Mar-14 6:45am    
no other css is apply
ErBhati 26-Mar-14 6:47am    
no issue with text box if i write in textbox then it is left align but if i write by HTMLEditorExtender then it is shown in center... issue in if i use HTMLEditorExtender
Naz_Firdouse 26-Mar-14 6:48am    
you mean no where
text-align:left or any other property is used?

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