Re: Need suggestion in editing a story book in HTML



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 &nbsp;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.
.



Relevant Pages

  • Re: wants to capitalize the first letter in the first word of ever
    ... The "capitalize first word of sentence" you mention in your first ... letting lines wrap naturally. ... the start of a new paragraph and I always do capitalize that. ... And if you don't want to see the green squiggles, ...
    (microsoft.public.word.docmanagement)
  • Re: wants to capitalize the first letter in the first word of ever
    ... Microsoft MVP (Word) ... The "capitalize first word of sentence" you mention in your first ... letting lines wrap naturally. ... the start of a new paragraph and I always do capitalize that. ...
    (microsoft.public.word.docmanagement)
  • Re: Apple II Interger ROMs
    ... >>> I don't know what Apple included in this area in the INTBASIC image on ... there's a "hole" at D800-DFFF. ... ROM is present at $D800-$DFFF, that memory area ought to read as ... Only the start address of each 16-byte paragraph where at least one ...
    (comp.sys.apple2)
  • Re: Size of an em
    ... a space used before the first word of a new paragraph ... ... three spaces at the end of a sentence unless it ended a paragraph, and two spaces after a colon, semicolon, exclamation mark and question mark. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: wants to capitalize the first letter in the first word of ever
    ... For those pasted docs with lines that end in line or paragraph breaks, ... But is there a way to stop Word from wanting to capitalize the shorter ... letting lines wrap naturally. ... >> Word wouldn't want to capitalize the first word of every line if it>> were ...
    (microsoft.public.word.docmanagement)