Click to See Complete Forum and Search --> : CSS and Excel page settings


florida
04-24-2006, 07:48 AM
I am outputting an Excel 2003 spreadsheet from my Database driven site.

It works great where I am using CSS to set the Excel Header and Landscape printing:


@page
{
mso-header-data:"The Header title Here";
mso-footer-data:"The Footer part Here";
margin:.3in .3in .3in .3in;
mso-footer-margin:.20in;
mso-header-margin:.18in;
mso-page-orientation:landscape;
}


Can CSS set the Column Titles so they appear on every printed page?

Currently it only prints Column Titles on the first page and not the remaining pages.
So I have to manually set it in Excel going into Page Setup and putting in "Rows to Repeat at top" for my Print title where I put in:
$1:$1

Please advise if I can make that setting in my CSS?

saquib
06-06-2006, 09:06 AM
if any one have the solution then please post it.
im also want the same

Fang
06-06-2006, 09:28 AM
It's part of CSS3 (http://www.w3.org/TR/2004/CR-css3-page-20040225/#pg-based-extensions), but is unlikely to be implemented in any browser yet.

Ultimater
06-07-2006, 12:05 PM
Might want to look into PDFs sorely for the purpose of printer page layout.