removing div magins for printing

view full story

http://www.daniweb.com – I'm stumped. I have a box model that is controlled by css in other parts of a CMS. For simplicity, lets say it's like this: <div.a>     <div.b>         <table>         </table>     </div> </div>I wish to print the raw table in the midst of the divs without the CSS margins assigned to them or to print the table alone. To do this I would use : @media print{ div.a,div.b {display:none} }The problem is that everything inside that box vanishes also. Is there a way to accomplish the table print with CSS? (General)