from this code my cTitle class not print in chrome (i.e my shop name and Total amount). if it's firefox its printing. This issue from yesterday itself in chrome. I have change font family, font size, but no use.
How to solve it. Issue only in chrome. (My chrome Version 54.0.2840.71 m)
According to your description and Code , I have tested your code in chrome ,
1. I found your code run perfect in the same version of chrome . Here is Result Screenshot:
2.If you provide code is not all ,it may be limited by other css . As far as l know , you could try add ! important in this class css , this property can improve css priority , like this:
.cTitle {
font-size: 30px !important;
}
Best Regards,
Eric Du
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
138 Points
357 Posts
Print page using javascript
Oct 27, 2016 06:36 AM|Hisanth|LINK
Hi,
I am using window.print() for my bill in 3 inch printer
from this code my cTitle class not print in chrome (i.e my shop name and Total amount). if it's firefox its printing. This issue from yesterday itself in chrome. I have change font family, font size, but no use.
How to solve it. Issue only in chrome. (My chrome Version 54.0.2840.71 m)
pls Help me.
Contributor
6730 Points
2715 Posts
Re: Print page using javascript
Oct 28, 2016 04:36 AM|Eric Du|LINK
Hi Hisanth,
According to your description and Code , I have tested your code in chrome ,
1. I found your code run perfect in the same version of chrome . Here is Result Screenshot:
2.If you provide code is not all ,it may be limited by other css . As far as l know , you could try add ! important in this class css , this property can improve css priority , like this:
Best Regards,
Eric Du
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.