Search code examples
jqueryprintingsliderimage-rotation

On printing webpage , it prints all the images of image slider


I have got a jquery image slider on my webpage , when i try to print that page all the images of that slider are printed , I want to print the current slide image , how can i acheive that , Below is the website : Duxbury Caravans


Solution

  • It seems your stylesheet isn't being applied on print. I've had the same problem before. Adding an explicit "print" stylesheet fixed it:

    <link rel="stylesheet" type="text/css" media="print" href="style.css">
    

    Actually looking at your source, you are specifically saying media="screen", so maybe changing that to media="all" will work too.