i have a print using @media print
. Now, i am having trouble about this, why it doesn't fill my table with it. I set the margin to 0 and also the @page
margin into 0. Still it doesn't. Also i increase the size of my table th
still it doesnt occupy the right space which i taked screen shot and i put red shade .
Here is the screenshot:
Here is my css:
@media print{
.no-print {
display: none;
}
printable {
display: block;
position: absolute;
left: 0;
top: 0;
right: 0;
}
body {
margin: 2mm 5mm 5mm 2mm;
}
table th {
width: 40%;
}
}
@page {
margin: 0;
}