@media print { .print-hidden { display:none; } a[href]:after { content: none !important; } .right_col { display: block; margin-left: 0px !important; z-index: 3 } html, body { height:100%; margin: 0 !important; padding: 0 !important; overflow: hidden !important; min-height:100%; max-height:100%; max-width:100% } .x_panel { border: none } .x_title { border-bottom: none } @page { margin: 0; size: A4 landscape; min-height:100%; height:100%; max-height:100%;} #sheet0 { width:100%; height:100%; } .when-print { display: block; } #relTable { max-height: 595pt; } }