So my questions are similar to the following:
crop too much text inside div
What I do not want to do is the complex end of the text (interrupting any text overflow).
The desired result will not include ellipses (...), but will โdisappearโ. Therefore, if I had something like:
<div class="text">This is the really long area of text that I want to chop</div>
then, wherever I decide, say, halfway ... n will be half-damped, and t will almost disappear. Of course, positioning is random and may fall acroos 3 or 4 letters ...
Here are the acceptable solutions in order of preference.
- Is it possible to fade text only with css?
- If this is not possible using another element in div.text, can I accomplish what I want (can the clouding disappear?).
- Do it with jQuery? (pah ... not recommended)
jquery html css xhtml
Zach
source share