You are here: Re: HTML Table -> Page Print « HTML « IT news, forums, messages
Re: HTML Table -> Page Print

Posted by Andy Dingley on 08/03/06 16:30

rehanbasar wrote:

> I have implemeted header and footer on asp page using <th> and <tf>
> tags.

You'd be better using the <thead> and <tfoot> tags, which exist and are
valid.
http://www.w3.org/TR/html4/struct/tables.html#edef-THEAD

Even though it exist, don't use <th> for this. <th> isn't a header,
it's a _header_cell_. It behaves like a cell not a row. Also you can
potentially use it anywhere you want this formatting.

> Is there any way possible through which I can restrict a table (within a table) or a row of > table completely on one page. That means either it would print completely on page1
> or page 2.

This is unreliable and awkward, owing to browser problems. The CSS
page-break-inside : avoid;
rule is where to start looking
http://www.w3.org/TR/CSS21/page.html#page-break-props

 

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

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