Click here to Skip to main content
14,135,406 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
I have one div, inside that i need to bind my text. My text May be "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaaaa" or "111111111555SSSWWWWnnnnnnnnYY" or any other.

My div have One Particualar width..Iam using asp.net. i dont want to limit the text by no of Characters(Our Project is using no only english ,many diff languages).

The output should be always come with constant height and width. And With no Trucation of Letters( Means I dont want to see Half Letter 'a' at the end of text)

Plese Help...
Posted
Comments
Sandeep Mewara 4-May-12 8:56am
   
Not clear. You talking of wrapping text?

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You can make the width or the height variable or add scrollbars... to ensure the text is always visible.
   

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web06 | 2.8.190518.1 | Last Updated 4 May 2012
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100