[Laszlo-dev] img tag in swf vs dhtml

John Sundman jsundman at laszlosystems.com
Tue Feb 13 04:39:23 PST 2007


Is this a bug, or is the placement not determined?

My concern is not to get them looking the same, but to document the  
expected behavior.  Any guidance appreciated.

jrs



On Feb 12, 2007, at 7:31 PM, Philip Romanik wrote:

> Hi John,
>
> I got a closer match by inserting a <br/> between the text and  
> image. It still isn't identical though.
>
> Phil
>
>
>> When the program below is compiled for SWF and then for DHTML, the
>> placement of the image differs.
>>
>> I rather expect that this has been covered before, so apologies in
>> advance if I should know what's up.  Is there something I should be
>> doing differently to ensure identical rendering in swf and dhtml?
>>
>> Thanks,
>>
>> jrs
>>
>> <canvas height="320" >
>>    <text multiline="true" width="300" height="300">
>>      Hello dear friends on the Red Planet! How is the Garden today?
>>      <img src="./images/horse-3.jpg"/>
>>    </text>
>> </canvas>
>>
>



More information about the Laszlo-dev mailing list