Click here to Skip to main content
15,920,704 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello..


I have an aspx page having a print/save button that uses a css file. but when i click the print/save button the css of that page changes automatically and the font size of the page increase.

How can i avoid it.What are the possible reasons.Please help..

Thanks and regards.

Deepak Kumar
Posted
Comments
Prerak Patel 12-Jul-11 2:02am    
Without seeing your code, it is hard to get the reason. :doh:
Uday P.Singh 12-Jul-11 3:09am    
post your code , so that we can help you.
Deepak.xip 12-Jul-11 3:55am    
Thanks Dude..You Helped

1 solution

I think you are using mixture of css types, means inline css, embeded and external.
If that then you should use only one type i recomend for external css file.

Another reason for that i think you did not write css properly because when you click on button it affects the fonts and formatting. your page layout is not handled by css.
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900