Skip to main content

Long Text with Ellipsis using CSS ( Text with ellipsis... )

  • We see in many places the label values or some other places that the text is very long.
  • If the text is too long it wraps to the new line.
  • But if you dont want text to wrap to new line and show ellipsis. This below CSS style will help you.

Eg:
<p class="ellipsisStyles"> This is an example to show the usage of long text with ellipsis </p>

If you want this text not to be wrapped and to be showed as "This is an example to ..." with ellispsis.

.ellipsisStyles{
     text-overflow:ellipsis;
     overflow:hidden;
     width:100px;
     whitespace: no-wrap;
}

Comments

Popular posts from this blog

Dialogues from Athadu

Athadu A movie wonder by Tivikram.. Here are some dilalogs from Athadu Movie. . Gun Chudalanuko Tappu Ledu Kani Bullet Chudalanukoku Chachipothav.. Nijam Cheppakapovadam Abaddam.. Abbadanni Nijam Cheyali ani Anukovadam Mosam,,,, Njam Cheppe Dhairyam Leni Vadiki Abbadam ade Hakku Ledu... Alludu Season Lantodu Vasthadu Pothadu.. kani Manamadu Chettu, Osthey Paathuku Pothadu.. ahh... Sahasame Upiri ga Brathike Vadiki Dhammu Tappa Dari tho Paniledu... Lancham Ivvandayya India lo Daniki Dorakanidhi Vundadhu.. Adiginadaniki Samadhanam Chepithe Telivi antaru.. Cheppakapothe Pogaru antaru... Veedu Nylon Taadu la kanipinche Naagu pamu lantodu.. Naidu ki Viswaroopam ye Chupinchadu, Bujji Gaadiki Bhagavadgithe... Ikkada kattukunte Molathadu.. Ikkada kattukunte Kasi taadu .. Ikkada Kadithe Padataadu.. Devudaa Kuturini adigithe Question bank ichava....  Hope u all Enjoyed.. :)

Good Dialogues from Krishnam Vande Jagadgurum (KVJ)

Here are the dialogs from the movie KVJ.. Most sucessfull film in TFI నాటకం రైలు ప్రయాణం  లాంటిది, అది ఎవరికోసం ఆగదు .   ఒక్కడున్న రైలు నడుస్తుంది, నాటకం కూడా అంతే ఒకడి కోసం ఆగదు ఒక్కడున్న ఆగదు ..  ఇది కల నిద్ర  లో కానిది , అది కళ నిద్ర లేపేది .  కలల్ని కూడా మార్చేది కళ ..  ఒక చేప సాయం చేస్తే మనం దేవుడు అని పూజించాం , ఒక పంది సాయం చేస్తే వరాహ అవతారం అని అన్నం , తాత చెప్పింది దేవుడు గురుంచి కాదు సాయం గురుంచి ..  గర్భ గుడిలో వీధి కుక్క ఉచ్చ పోసినంత మాత్రాన దేవుడు మైలు పడడు ..  తాత భాగవతం రాశాడు అనుకున్న కాని బ్రతుకు రాసాడు అనుకోలేదు ..  కళ అంటే బ్రతుకు నిచిదే కాదు బ్రతుకు నీర్పేది కూడా ..    బువ్వ్ లేకపోతే మట్టిని అడిగితే పెడుతుంది , కాని మట్టినే  దోచేస్కున్తున్నారు కొడుకులు ..  నేస్ససిటి అఫ్ లివింగ్ .  న్యాయం కంటే అన్యాయం ఒక అక్షరం ఎక్కువ కదా , అదే గెలిచింది ..  కాస్ట్ ని బట్టి టెలికాస్ట్ వుంటుంది ..  అవకాసం ఉన్నవాడికి అవసరం ఉండదు , అవసరం ఉన్నవాడికి అవకాసం రాద...

Telugu Samethalu

ఐశ్వర్యం వుంటే అర్దరాత్రి గొడుగు పట్టమనేవాడు ..  అయితే ఆదివారం కాకపోతే సోమవారం ..  అంటుకోను ఆముదం లేదు కానీ , మీసాలకు సంపెంగి నునె ..  లక్ష నక్షత్రాలు ఐన ఒక్క చంద్రుడు కాలేవు ...  లేనివాడు లేక ఏడిస్తే , ఉన్నవాడు తినలేక ఏడ్చాడు అంట ..  సెంటు బూమి లేని వాడికి ఎందుకు సెంటు వాసన అన్నట్టు ..  ఆడలేక మద్దెల వానిపై గోడు పోసుకున్నట్లు ..  ఏమి లేని ఎడారి లో ఆముదము చెట్టే మహా వృక్షము .. తింటే అజీర్తి , తినకుంటే నీరసం ..  లక్షణం చెడితే అవలక్షణం ..  చెరువుకి  నీటి ఆశ , నీటికి చెరువు ఆశ ..  గాడిద సంగీతానికి ఒంటె ఆశ్చర్యపడితే , ఒంటె ఆనందానికి గాడిద మూర్చ పోయిందట ..  లేని దాత కంటే వున్నా లోభి నయం ..