Re: HTML table 'rows' wrapping instead of scrolling.....

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

John F Dutcher wrote:
> 
> Here is CGI script code that produces the start of a table (the headings)
> (still more headings to come, but already it wraps instead of scrolling):
> <font color="#330033"></font>
> <font color="#FF00FF">puts</font><font color="#330033">(1,</font>
> <font color="#00A033">	"Content-type: text/HTML\n\n" </font><font
> color="#330033">& </font>
> <font color="#00A033">   	"<html><head>\n" </font><font
> color="#330033">&</font>
> <font color="#00A033">   	"<title>Blues Remits Splitter</title>\n"
> </font><font color="#330033">&</font>
> <font color="#00A033">   	"<body text=blue>\n" </font><font
> color="#330033">&</font>
> <font color="#00A033">   	"<center>\n" </font><font color="#330033">&</font>
> <font color="#00A033">   	"<H1>Blues Remittances for 7/28/04</H1>\n"
> </font><font color="#330033">& </font>
> <font color="#00A033">   	"<TABLE BORDER=1 BGCOLOR=pink>\n" </font><font
> color="#330033">& </font>
> <font color="#00A033">   	"<tr><td>Received Date</td>\n" </font><font
> color="#330033">&</font>
> <font color="#00A033">   	"<td>Provider</td>\n" </font><font
> color="#330033">&</font>
> <font color="#00A033">   	"<td>Svc Year</td>\n" </font><font
> color="#330033">&	</font>
> <font color="#00A033">   	"<td>Account #</td>\n" </font><font
> color="#330033">&</font>
> <font color="#00A033">   	"<td>Last Name</td>\n" </font><font
> color="#330033">& </font>
> <font color="#00A033">   	"<td>First Name</td>\n" </font><font
> color="#330033">& </font>
> <font color="#00A033">   	"<td>Mid Init</td>\n" </font><font color="#330033">&
> </font>
> <font color="#00A033">   	"<td>Sub Last Name</td>\n" </font><font
> color="#330033">& </font>
> <font color="#00A033">   	"<td>Sub First Name</td>\n" </font><font
> color="#330033">&</font>
> <font color="#00A033">   	"<td>Sub Mid Init</td>\n" </font><font
> color="#330033">& </font>
> <font color="#00A033">   	"<td>Date of Birth</td>\n" </font><font
> color="#330033">&</font>
> <font color="#00A033">   	"<td>HIC Number</td>\n" </font><font
> color="#330033">&</font>
> <font color="#00A033">   	"<td>Location</td>\n" </font><font color="#330033">&
> </font>
> <font color="#00A033">   	"<td>Fin Class</td>\n" </font><font
> color="#330033">&</font>
> <font color="#00A033">   	"</tr></table>\n"</font>
> <font color="#330033"></font>
> 
> Here is the 'source' sent to the browser after the CGI has run as seen in 
> the browser menu 'view' - 'source' options with I.E. 6.0:
> 
> <html><head>
> <title>Blues Remits Splitter</title>
> <body text=blue>
> <center>
> <H1>Blues Remittances for 7/28/04</H1>
> <TABLE BORDER=1 BGCOLOR=pink>
> <tr><td>Received Date</td>
> <td>Provider</td>
> <td>Svc Year</td>
> <td>Account #</td>
> <td>Last Name</td>
> <td>First Name</td>
> <td>Mid Init</td>
> <td>Sub Last Name</td>
> <td>Sub First Name</td>
> <td>Sub Mid Init</td>
> <td>Date of Birth</td>
> <td>HIC Number</td>
> <td>Location</td>
> <td>Fin Class</td>
> </tr></table>
> 

It doesn't wrap for me.  I use IE 6.0 as well.

By the way, the TH element means the cell contains header information.
The TD element means the cell contains data.

See http://www.w3.org/TR/html4/struct/tables.html#h-11.2.6 and
http://www.w3.org/TR/WCAG10/#tech-table-headers for info on this.

Phil

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

Search



Quick Links

User menu

Not signed in.

Misc Menu