Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

create fooer on print page with jquery

footer {
  font-size: 9px;
  color: #f00;
  text-align: center;
}

@page {
  size: A4;
  margin: 11mm 17mm 17mm 17mm;
}

@media print {
  footer {
    position: fixed;
    bottom: 0;
  }

  .content-block, p {
    page-break-inside: avoid;
  }

  html, body {
    width: 210mm;
    height: 297mm;
  }
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: node js response header 
Javascript :: Difference in push and navigate in react Navigation 
Javascript :: is jwt token expired 
Javascript :: npm run build npm ERR! Missing script: "build" for firebase 
Javascript :: javascript MIN_VALUE 
Javascript :: axios delete with data 
Javascript :: reactjs node sass incompatible with ^4.0.0 ^5.0.0 
Javascript :: react promises 
Javascript :: javascript slice vs splice 
Javascript :: webpack-bundle-analyzer react 
Javascript :: fetch method in javascript 
Javascript :: change focus to next field jquery after enter 
Javascript :: delete message discord.js 
Javascript :: 2d array filter repetition in javascript 
Javascript :: convert array to object 
Javascript :: write to file but dont overwrite fs.writeFile node 
Javascript :: javascript get string from array with space between 
Javascript :: drupal 9 get nid from node 
Javascript :: continue foreach javascript 
Javascript :: javaScript Math.log10() Method 
Javascript :: how to loop through something in node.js 
Javascript :: cookie options 
Javascript :: ping ip address using javascript 
Javascript :: how to chunk a base 64 in javascript 
Javascript :: how to find duplicate values in an array javascript 
Javascript :: ace editor set theme 
Javascript :: js if else statement one line 
Javascript :: sentry ignoreerrors 
Javascript :: javascript multiline script 
Javascript :: js - change div height on scroll 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =