WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Page foot, Ramon, December 15, 2003
     Re:Page foot, Ben Noblet, December 16, 2003
         Re:Page foot, Ramon, December 16, 2003
             Re:Page foot, Erik Arvidsson, December 22, 2003

Subject: Re:Page foot From: Ramon Date: December 16, 2003

Thank you Ben. I have seen the page and I have a doubt. If I define this style how can I use it in my HTMl page? Does IE6 understand this?

<style>
@media all {
  @page         { margin: 10% }
  blockquote,
  pre           { page-break-inside: avoid }
}

 @page {
  counter-increment: pages;
  @bottom-center {
      font-family: Times, Palatino, serif;
      font-size: 12pt80%;
      font-weight: normal;
      text-align: center;
      content: "Page " counter(pages);
  }
 }
</style>

From: Ben Noblet
Sent: December 16, 2003
Subject: Re:Page foot

I would suggest you use CSS.  There are a whole lot of CSS directives you can use to influence page layout.

See http://www.w3.org/TR/css-print/

Regards

Ben

 

From: Ramon
Sent: December 15, 2003
Subject: Re:Page foot

I use to create my print reports using HTML and I have a problem with the footers. My idea is that an HTML table with some content always was at the bottom of the last page. The report is of a variable size, sometimes on page, other times ten pages. The table always has the same size.

I have been trying using "document.body.scrollHeight", calculating then  the number of pages and putting the table into a div positioned at #pages*size_page  but as the report grows this idea goes worst.

Does anybody have an idea to solve my problem?

Thanks.






Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX