Re: Euphoria 'For' loop alters HTML output at browser....
- Posted by "Unkmar" <L3Euphoria at bellsouth.net> Aug 04, 2004
- 475 views
I don't know about fixing your problem but... ----- Original Message ----- From: "John F Dutcher" Sent: Wednesday, August 04, 2004 7:08 AM Subject: Euphoria 'For' loop alters HTML output at browser.... > > > posted by: John F Dutcher <John_Dutcher at urmc.rochester.edu> > > The Euphoria code below generates an HTML page (horizontally scrollable > thanks to the knowledge of the forum readers). > [...] > puts(1, > "Content-type: text/HTML\n\n" & > > "<html LANG=EN><head>" & > "<title>BCH Remittance Splitter</title></head>" & > "<body style=\"color:Blue\">" & > "<div style=\"text-align:center\">" & > "<H2>BCH Remittances for 7/28/04</H2>" & > "<table style=width:2000px; border=1; bgcolor=pink>" & > "<tr>" & > "<th>Received Date</th>" & [...] > "<th>Pat ResP Amt</th>" & > "</tr>" > ) <-------------- if I cut off here, no problem !! > > > for i = 1 to 100 do <--------- when this is left in, the display > <--------- above is actually affected > puts(1, > "<tr>" & Why not make the entire row yellow? <tr bgcolor="yellow"> And drop all the individual cells from being yellow. > "<td bgcolor=yellow>" & line[1..10] & "</td>" & > "<td bgcolor=yellow>" & line[11..20] & "</td>" & > "<td bgcolor=yellow>" & line[21..24] & "</td>" & [...] > "<td bgcolor=yellow>" & line[300..314] & "</td>" & > "<td bgcolor=yellow>" & line[315..328] & "</td>" & > "</tr>" > ) > > line = gets(fn) > end for > puts(1,"</table></div></body></html>") > </eucode> {{{ > unkmar