extract images from the css file
fix the second blank page when printing