I have a table and I'm trying to get rid of it at print time with media print, though I've already tried:
margin: 0 0 0 0 !important;
padding: 0 0 0 0 !important;
And nothing works and I need more space in the print.
I have a table and I'm trying to get rid of it at print time with media print, though I've already tried:
margin: 0 0 0 0 !important;
padding: 0 0 0 0 !important;
And nothing works and I need more space in the print.
Try this:
#page td {
padding:0; margin:0;
}
#page {
border-collapse: collapse;
}
Given border-collapse: collapse;
condenses the edges into one.
Make sure your selector is being applied correctly and that the print style is being properly called.
Ex: <link rel="stylesheet" href="#" media="print">
.