Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have one text box , it has long text , i want show only last words
Posted
Comments
Thanks7872 20-Aug-14 10:16am    
using css,i think not possible.
Sergey Alexandrovich Kryukov 20-Aug-14 11:14am    
I don't think it's possible. Probably you won't be surprised to know that you cannot read text from a text box and spell-check it using CSS... So why should it be able to move the cursor?
—SA

1 solution

try this

XML
<input type="text" class="numericBox" tabindex="0" value="0.00">

CSS

.numericBox{
 text-align:right;
}
 
Share this answer
 
Comments
Phanindra Baddula 21-Aug-14 1:00am    
No this not what i wanted ,From this i can enter text from right side but what i want is i have already have text in text box , if text is more than the width of text box i want to show the last text

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