You are here: Re: <TBODY> « HTML « IT news, forums, messages
Re: <TBODY>

Posted by JohnWMpls on 07/30/05 19:01

On Thu, 28 Jul 2005 17:34:53 +0200, "bernhard schelling"
<schello@evomobil.net> wrote:
=>> <thead> seems to be just the thing for one table I have that is 3 pages
=>> long - if, as described, it will repeat the column headers on each page
=>> (& screen?). But I cannot get it to do that.
=>>
=>> Am I barking up the wrong tree?
=>
=>You can find all the answers here:
=>http://www.usability.com.au/resources/tables.cfm?style_font=sansserif
=>
Thanks, not the wrong tree - but a variation among browsers.

No browser repeated the thead when scrolling but the Print Preview in
all was accurate.

Mozilla, Firefox, & NS 7 were the same. Thead and Tfoot were placed on
each printed page. Only funny thing - they print the text before the
table (1/4 page) but then jumped to start a new page with the thead.
(Note: include a header or caption in thead or the table name gets lost
on subsequent pages.)

Thead etc not recognized by NS 4.8.

IE 6 printed thead and tfoot at the beginning and end of the table
but not on middle pages. (If it makes a difference, my IE came from
AOL - says it is a custom version).

Opera 8.01, like IE, did not print thead nor tfoot on middle pages - and
did not even break into columns the thead (it did tfoot though!).

Following is the top of the code I used (all UC originally from a
word97-to-html conversion - messy looking but it works!).

<P ALIGN="CENTER">
<TABLE width="95%" BORDER CELLSPACING=1 CELLPADDING=7">
<thead><h3>Choir Schedule</h3>
<TR>
<Th WIDTH="20%" VALIGN="TOP">&nbsp;</Th>
<Th WIDTH="20%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">8:30</FONT></Th>
<Th WIDTH="22%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">10:00</FONT></Th>
<Th WIDTH="18%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">Other</FONT></Th>
<Th WIDTH="21%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">11:10</FONT></Th>
</TR>

<tfoot>
<TR>
<TR>
<Th WIDTH="20%" VALIGN="TOP">****</Th>
<Th WIDTH="20%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">8:30</FONT></Th>
<Th WIDTH="22%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">10:00</FONT></Th>
<Th WIDTH="18%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">Other</FONT></Th>
<Th WIDTH="21%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">11:10</FONT></Th>
</TR>

<tbody>
<TR><TD WIDTH="20%" VALIGN="TOP">
<B><FONT SIZE=2><P ALIGN="CENTER">Sept. 12</P>
<P ALIGN="CENTER">Fall Kick-off</B></FONT></TD>
<TD WIDTH="20%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">A Cappella</FONT></TD>
<TD WIDTH="22%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">A Cappella</FONT></TD>
<TD WIDTH="18%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER"></P>
<P ALIGN="CENTER">&nbsp;</FONT></TD>
<TD WIDTH="21%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">Wellspring</P>
<P ALIGN="CENTER"></FONT></TD>
</TR>
<TR><TD WIDTH="20%" VALIGN="TOP">
<B><FONT SIZE=2><P ALIGN="CENTER">Sept. 19</B></FONT></TD>
<TD WIDTH="20%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">A Cappella</FONT></TD>
<TD WIDTH="22%" VALIGN="TOP">
<FONT SIZE=2><P ALIGN="CENTER">Hosanna</FONT></TD>
....etc....


---
JohnW-Mpls

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация