Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <style type="text/css" media="print">
- @page {
- margin-top: 20%;
- margin-bottom:13%;
- margin-right: 10%;
- margin-left:7%;
- size: A4;
- background-image:url({!$Resource.Voorblad}) ;
- background-repeat:no-repeat;
- background-size: 120% 120% !important;
- @top-right {
- content: element(header);
- }
- @bottom-right{
- content: element(footer);
- }
- }
- div.header {
- align:left;
- padding: 0px;
- position: running(header);
- }
- body{
- margin-left:0%;
- font-family:Arial, Verdana, sans-serif;
- font-size:90%;
- }
- div.footer {
- height: 250px;
- display: block;
- padding: 5px;
- position: running(footer);
- margin:-2em -1em -12em;
- font-size:60%;
- color:#21789e;
- text-align: right;
- line-height:120%;
- }
- div.header {
- position: running(header);
- }
- .pagenumber:before {
- content: counter(page);
- }
- .pagecount:before {
- content: counter(pages);
- }
- table {border-collapse: collapse;
- padding: 0;
- margin-top:5px;
- margin-bottom:20px;
- }
- td{vertical-align:top;
- padding-left:
- 0px;
- }
- table.details td {
- border: 2px solid #000;
- padding-left:5px;
- }
- .backgroundimg {
- background-image:url({!$Resource.backgroundtable}) ;
- background-size: 300px 100px;
- background-repeat:no-repeat;
- }
- </style>
- </head>
- <style type="text/css" media="print">
- @page {
- margin-top: 20%;
- margin-bottom:13%;
- margin-right: 10%;
- margin-left:7%;
- size: A4;
- @top-right {
- content: element(header);
- }
- @bottom-right{
- content: element(footer);
- }
- }
- div.header {
- align:left;
- padding: 0px;
- position: running(header);
- }
- body{
- margin-left:0%;
- font-family:Arial, Verdana, sans-serif;
- font-size:90%;
- }
- div.footer {
- height: 250px;
- display: block;
- padding: 5px;
- position: running(footer);
- margin:-2em -1em -12em;
- font-size:100%;
- color:#000000;
- text-align: right;
- line-height:120%;
- }
- div.header {
- position: running(header);
- }
- .pagenumber:before {
- content: counter(page);
- }
- .pagecount:before {
- content: counter(pages);
- }
- table {border-collapse: collapse;
- padding: 0;
- margin-top:5px;
- margin-bottom:20px;
- }
- td{vertical-align:top;
- padding-left:
- 0px;
- }
- table.details td {
- border: 2px solid #000;
- padding-left:5px;
- }
- .backgroundimg {
- background-image:url({!$Resource.backgroundtable}) ;
- background-size: 300px 100px;
- background-repeat:no-repeat;
- }
- @page :first {
- background-image:url({!$Resource.youresource}) ;
- background-repeat:no-repeat;
- background-size: 120% 120% !important;
- @bottom-right {
- }
- @top-right {
- }
- }
- </style>
Add Comment
Please, Sign In to add comment