0
Make sure that you have correct css class names.
Make sure CSS are applied properly in your web form.
Lastly follow below links that may help you:
http://www.c-sharpcorner.com/UploadFile/skumaar_mca/media-css-for-print-the-web-page-in-customized-format/
https://weblogs.asp.net/dwahlin/getting-started-with-css-media-queries
Note: Try in some latest browsers.
Accepted 0 Hello again Manas, it's working now! I am using a panel that's why it is not working. When I transfer the link inside the panel, it worked! Thanks for your help.
0 Hello Manas thanks for the prompt reply. As usual I did follow point per point, instruction per instruction but what I don't understand that when I'm going to use media="print" it doesn't work. On the other hand, media="screen" works very well. We cannot say that the class name is not correct because its working using media="screen".