Re: Need suggestion in editing a story book in HTML
- From: Neredbojias <http://www.neredbojias.com/fliam.php?cat=alt.html>
- Date: Fri, 25 Aug 2006 01:36:04 -0400
To further the education of mankind, gmclee@xxxxxxxx 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.
.
- References:
- Need suggestion in editing a story book in HTML
- From: gmclee
- Need suggestion in editing a story book in HTML
- Prev by Date: Re: mixed units in a single css declaration
- Next by Date: Re: Way to disable CSS styles in fragment on the code
- Previous by thread: Need suggestion in editing a story book in HTML
- Next by thread: Sign Up Sheet Needed
- Index(es):
Relevant Pages
|