Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

197
Vistas
Add a dynamic content to a same place in print in html

I use the following code to append a dynamic content to printing the content to an A4 paper in html.

  $('#result_body').append(

                      '<div id=result_signature'+count+' class="footer" 
                       style="position: fixed;bottom:20px; right:20px">'+
                      '<p>'+data[count].signature+'</p>'+

                      '<br>'+

                      '</div>'
                      )
                      
                      $('#result_body').append( '<div class="pagebreak"> </div>')

My problem is, when I run this, If there are two different signatures, it prints both signatures in all pages and if there is only one signature it prints only one (which is correct) in all pages. But if i set the position to relative, it prints the signatures correctly, but not to the bottom of the page. I used the fixed position as i need to print the signatures at the bottom of the every page, regardless of the content is extending to multiple pages.

Is there any way to append the signatures to the bottom of the printing pages other than using the fixed position?

(Both signatures look same for demo purpose)

When position is relative

enter image description here

enter image description here

When position is Fixed

enter image description here

All I want is the both signature at bottom correctly.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda