Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2007

Tip: Looking for answers? Try searching our database.

Problem in CSS3

Thread view: 
amit.chauhan.79@gmail.com - 25 May 2007 10:49 GMT
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
David Gillen - 25 May 2007 10:58 GMT
amit.chauhan.79@gmail.com said:
> Can anyone suggest something on this?.

A CSS related newsgroup instead of a java one?

D.
Signature

Fermat was right.

Christopher Benson-Manica - 25 May 2007 14:23 GMT
>     I am facing some problem in CSS3 stylesheets.

comp.infosystems.www.authoring.stylesheets

(The W3C must really think it's hilarious to continue iterating before
M$ finishes supporting the LAST iteration.)

Signature

C. Benson Manica           | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com      | don't, I need to know.  Flames welcome.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.