Re: Euphoria 'For' loop alters HTML output at browser....

new topic     » goto parent     » topic index » view thread      » older message » newer message

John F Dutcher wrote:
> 
> The Euphoria code below generates an HTML page (horizontally scrollable
> thanks to the knowledge of the forum readers).
> 
> If I test by 'cutting off' the code after the first 'puts(1,...) which
> generates the table 'heading' cells (by adding the 'end' tags for the table,
> div, body
> 
> and html at that point...the browser displays the 'heading line' and the
> table 'header' just as expected, with the table header directly underneath
> the 'heading'.
> 
> As soon as the 'for i = 1 to 100 do' is added which formats the 'detail
> cells' of the table, two things happen:
>     1) The 'detail cells' are added immediately under their 'header cells'
>        as expected, in a perfect table display
>     2) BUT the table in its entirety has been displaced in the browser
>        display by two or more screen lengths (vertically) of white space
>        from the original 'heading line' (<H1>...</H1>).
> 
> It's as though the injection of Euphoria code needed to produce the
> detail 'data' affects the display from the 1st 'puts(1,..)' that 
> produced the 'header' cells ??? 

Looks fine to me. There's only the expected amount of space between the 
heading and the table.

Let me suggest that you use your browser's "view source" to capture the 
output html, and then look at that html. You may be able to spot something 
there.

Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu