I’m not sure, but I think HTML treats separate elements as if there’s 
whitespace between.

Worth looking into…

> On Feb 24, 2017, at 9:41 AM, Alex Harui <aha...@adobe.com> wrote:
> 
> FWIW, I've been wondering:  Does anybody know why there is whitespace when
> we call appendChild() on these children?  The HTML looks like:  <child
> /><child /> with no whitespace between.  I don't think there is a TextNode
> in there, but I could be wrong about that.  Is it just not possible to not
> have whitespace between elements?
> 
> Just curious,
> -Alex
> 
> On 2/23/17, 11:27 PM, "Harbs" <harbs.li...@gmail.com> wrote:
> 
>> Justin,
>> 
>> Can you try adding “white-space: nowrap;” to HContainer in the
>> defaults.css file in the HTML project?
>> 
>> Theoretically, that should fix the problem.
>> 
>> Thanks,
>> Harbs
>> 
>>> On Feb 24, 2017, at 9:01 AM, jus...@classsoftware.com wrote:
>>> 
>>> Hi,
>>> 
>>> And the issue is each of the images is  display  inline-block this will
>>> by default wrap unless you add white-space nowrap to the container.
>>> 
>>> Just do this to fix:
>>> <js:HContainer width="400" height="100" style="white-space: nowrap;”>
>>> 
>>> Thanks,
>>> Justin
>> 
> 

Reply via email to