Problem in CSS3

A

amit.chauhan.79

Hi,
I am facing some problem in CSS3 stylesheets. I want to print a
report(which is in tabular format) in multiple pages I am getting the
content of the report perfectly printed in the paper while taking a
printout but I want to print the header row also to be printed on each
page of the report.
Can anyone suggest me anything on this. I tried using css3
stylesheets for doing it. The code on html page is something like
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">


<LINK href="test.css3" rel="stylesheet" type="text/css">

</head>

<body>

<h1>Amit</h1>
<p>OBJECTIVE
To work in an organization, that believes in continuous improvement
and innovation. A free and friendly setup with challenging work
environment that stimulates my growth and utilize existing experience
</p>
</body>

</html>

and the css3 code is as below:
h1 { string-set: chapter content();text-decoration:underline; }
@page {
margin: 10%;
@top-center { content: string(chapter) }
}


but when I printed it on printer the heading h1 gets printed only on
the first page.

Can anyone suggest something on this?.

Thanks,
Amit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top