|
Posted by Neredbojias on 12/17/64 11:56
To further the education of mankind, gmclee@21cn.com vouchsafed:
> Each quoted word in the story will be replaced with a <span ...> shown
> above. However, because the length of the explaination and the word are
> different, when Explain() or ShowWord() is called, the whole paragraph
> will be repainted. For example, sometimes, the first word of the second
> line will be shown at the end of the first line. It annoies reader a
> lot! Howcan I make it fixed when word/explanation shown in turn?
One hokie way to do it is to use a monospace space and "fill in the
blanks" from the longest word with s. This probably wouldn't look
that great, though.
> BTW, the layout of the text within a paragraph is not that orderly, I
> don't know if it is something relate to <span>. I try to wrap the
> whole paragraph with a <div align="justify">, but not all word will be
> rearrange to have a good view. The worst case is shown below
> ------------------------------------------
>| This is an apple. The is an apple.|
>|xxxxx"XX"xx yyyyyy"YY" |
>|yyy zzz"ZZZZ" zzzz zzzzzz zz |
> --------------------------------------------
>
> At the end of the second line , there is enough space of yyy on the
> beginning of the thrid line, but it won't reorganize the word to fill
> the space that make the layout of paragraph very BAD. Any idea?
Don't follow... "At the end of 2nd line, there is enough space on 3rd
line"...? Are you using nowrap or any positioning?
--
Neredbojias
Infinity has its limits.
[Back to original message]
|