Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

On Monday the 3rd of March, around 5pm UTC (9am PT) users may experience a brief period of downtime while one of our underlying services is under maintenance.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

¿Como puedo imprimir color de fondo en tablas?

  • 3 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 5 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย alex_mayorga

more options

En mi página web hice una tabla, en ella ocupo colores de fondo especificos al desear imprimir la tabla como pdf los fondos de la tabla se borran, como puedo mantener el formato que le doy?

Nombre: Nombre:
Puesto: Puesto:
Firma: Firma:

ya intente agregando clases, por ejemplo: @media print {

 .area-firmas

{

 background-color: rgb(204, 204, 204);

}

 .separador-rojo

{

 background-color: rgb(179, 4, 4);

} }

pero lo ignora.


que puedo hacer?

En mi página web hice una tabla, en ella ocupo colores de fondo especificos al desear imprimir la tabla como pdf los fondos de la tabla se borran, como puedo mantener el formato que le doy? <table class="aligncenter" style="width: 1200px; border: 1px solid #aaa;"> <tbody> <tr> <td class="separador-rojo" style="width: 300px; height: 40px; background-color: #b30404;" colspan="2"> </td> <td class="separador-rojo" style="width: 300px; height: 40px; background-color: #b30404;" colspan="2"> </td> </tr> <tr> <td style="width: 150px; height: 40px; border-color: #ffffff; text-align: left; vertical-align: middle; padding-left: 30px;"><strong>Nombre:</strong></td> <td style="width: 450px; height: 40px; border-width: 1px; border-color: #fff #fff #777 #fff; border-style: solid;"> </td> <td style="width: 150px; height: 40px; border-color: #ffffff; text-align: left; vertical-align: middle; padding-left: 30px;"><strong>Nombre:</strong></td> <td style="width: 450px; height: 40px; border-width: 1px; border-color: #fff #fff #777 #fff; border-style: solid;"> </td> </tr> <tr> <td style="width: 150px; height: 40px; border-color: #ffffff; text-align: left; vertical-align: middle; padding-left: 30px;"><strong>Puesto:</strong></td> <td style="width: 450px; height: 40px; border-width: 1px; border-color: #fff #fff #777 #fff; border-style: solid;"> </td> <td style="width: 150px; height: 40px; border-color: #ffffff; text-align: left; vertical-align: middle; padding-left: 30px;"><strong>Puesto:</strong></td> <td style="width: 450px; height: 40px; border-width: 1px; border-color: #fff #fff #777 #fff; border-style: solid;"> </td> </tr> <tr> <td style="width: 150px; height: 40px; border-color: #ffffff; text-align: left; vertical-align: middle; padding-left: 30px;"><strong>Firma:</strong></td> <td class="area-firma" style="width: 450px; height: 40px; background-color: #cccccc;" rowspan="2"> </td> <td style="width: 150px; height: 40px; border-color: #ffffff; text-align: left; vertical-align: middle; padding-left: 30px;"><strong>Firma:</strong></td> <td class="area-firma" style="width: 450px; height: 40px; background-color: #cccccc;" rowspan="2"> </td> </tr> <tr> <td style="width: 150px; height: 40px; border-color: #ffffff; text-align: left; vertical-align: middle;"> </td> <td style="width: 150px; height: 40px; border-color: #ffffff; text-align: left; vertical-align: middle;"> </td> </tr> </tbody> </table> ya intente agregando clases, por ejemplo: @media print { .area-firmas { background-color: rgb(204, 204, 204); } .separador-rojo { background-color: rgb(179, 4, 4); } } pero lo ignora. que puedo hacer?

การตอบกลับทั้งหมด (3)

more options

¡Hola David!

Por favor selecciona "Imprimir fondo (colores e imágenes)" si deseas que Firefox imprima los fondos de las páginas web como se detalla en https://support.mozilla.org/es/kb/Imprimir%20una%20p%C3%A1gina%20web#w_cambiar-la-configuraciahn-de-la-paagina

Dinos si esto resuelve tu pregunta.

¡Gracias!

more options

Tengo la opción seleccionada, aun asi, me es imposible visualizar los colores de tablas.

Alguna otra opción?

more options

¡Hola David!

¿Cuál es la URL de la página?

¿Qué software utilizas para imprimir a .pdf?

¡Gracias!