|
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]
|