HTML files don't display properly

Francis Nugent Dixon effendi at wanadoo.fr
Mon Feb 20 06:14:06 EST 2006


Hi from Paris (it's not raining, but winter is dragging on !)

I wanted to display my Song Lyrics in a stack, but Word files are
"no go", so I did a batch convert on my Word folder (VINC is very
useful !), and got perfect HTML files (24 point titles, bold text where
I want it, spacing OK, etc.). When I double-click these files and 
display
them with Explorer, they look fine (So far, so good !).

I then display the lyrics in my stack :

set the htmlText of field "MyLyricsField" to URL ("file:" & 
GVLyricsFile)

where GVLyricsFile is a valid full path file name

What is displayed is unpredictable. All the lines are there, bold text 
is OK,
etc. I understand that I may lose some of the characteristics, because 
of the
properties of the field that I display in (24 point headers become 12 
point, etc.)
but what bugs me most is the line spacing. Sometimes the lines are OK,
sometimes they are all squeezed up, and are totally unreadable !

What is doing this ? Can I remove the problem with scripting, or does
it reside in the original Word or HTML files ?

Thanks for any help.

Francis

"Nothing should ever be done for the first time ....... "



More information about the use-livecode mailing list