html - control image size -
i had re-sized image suitable in page javascript when print page , images appear in bigger size , tried control size of images in css , not affected :
@media print { img { width: 544px; height: 450px; } } any 1 can ?
try changing code include !important attribute.
@media print { img { width: 544px !important; height: 450px !important; } } and check see if force-overriding inline css. !important attributte supposed ignore inline attributes in experience doesn't seem work across browsers. can change sizes be:
width: 5.67in !important; height: 4.69in !important; assuming flat-panel monitor. can find converter here
Comments
Post a Comment