0
I put a chart mounted with Google Charts on my page and to print it I want to reduce its size, for a matter of printing layout. The div that receives the chart is:
<div id="GraficoNotas" style="width: 900px; height: 400px;">
I created a css for printing to reduce the size of this div, but this css is not working. Follow him here:
@media print {
body {
margin-left:0px;
}
#GraficoNotas {
width:450px;
height:200px;
}
}
I’ve tried changing it to size in percentage and it didn’t work either. At the time of printing the chart size is always the same. Someone could give me a light?
the margin of
body
is zeroed on the printing page?– Lennon S. Bueno