I\'m working on website that is supposed to print table.
One problem I\'m running into is that some table borders won\'t be printed, although they are correctly disp
Following up on the comment by "K D" it looks like you're not copying the CSS over to the new window. My guess is that you're doing it this way so only that specific table on the entire page is printed. There is an easier way to go about this, define a print stylesheet which negates every element except the one you want to print. No JavaScript and new windows and copying anything over is needed.
myPrintStylesheet.css:
* {
display: none;
}
#table {
display: block;
}