I can't get a div to print in the center of the page!
Hi guys
I have a div in my code that I am trying to print using the jQuery print element. My DIV is formated in the center but my when i pint it everything print left!
This is my css code
@media print {
.contract {
align: 0 auto;
text-align: center;
width: 800px;
background-color: #fff;
clear: both;
display: block;
}
}
What is the trick to get this div to print the same way it looks? I seems that the print functions ignores the css code completely!
thanks