hackalive Posted November 16, 2013 Share Posted November 16, 2013 Hi Guys, I am using Adobe Illustrators Export to save a PNG of a few logos. If I use Save for Web is comes out blurry so I use Export. My issue however is when I set <img style="height:22px;"> it keeps cutting off the right hand side of the image. Originall i was uisng height:22.5px and changing to no decimals has not helped. Any ideas? Really need some help on this as I cant seem to figure it out and its driving me nuts! Cheers Link to comment https://forums.phpfreaks.com/topic/283970-image-being-cut-off/ Share on other sites More sharing options...
dalecosp Posted November 16, 2013 Share Posted November 16, 2013 What's the original image size?And what is around the IMG tag in the HTML? If it's being cut off, there's usually a container (DIV, P, TD, etc.) that's got its overflow attribute set to "hidden". Link to comment https://forums.phpfreaks.com/topic/283970-image-being-cut-off/#findComment-1458603 Share on other sites More sharing options...
hackalive Posted November 16, 2013 Author Share Posted November 16, 2013 Firebug does not show any overflow: hidden set for any parent elements. The original sizes vary - one is 298 x 60 (All appears ok in FF on my desktop - but cuts off in FF on my laptop - just realised this) Link to comment https://forums.phpfreaks.com/topic/283970-image-being-cut-off/#findComment-1458605 Share on other sites More sharing options...
markjans Posted November 18, 2013 Share Posted November 18, 2013 Have you tested this in different browsers? Does it work in Google Chrome? Link to comment https://forums.phpfreaks.com/topic/283970-image-being-cut-off/#findComment-1458879 Share on other sites More sharing options...
hackalive Posted November 19, 2013 Author Share Posted November 19, 2013 Appears fine on all browsers on some PCs and fails on most (all) browsers on others. Driving me nuts! Link to comment https://forums.phpfreaks.com/topic/283970-image-being-cut-off/#findComment-1458930 Share on other sites More sharing options...
hackalive Posted November 21, 2013 Author Share Posted November 21, 2013 Any other advice? Link to comment https://forums.phpfreaks.com/topic/283970-image-being-cut-off/#findComment-1459327 Share on other sites More sharing options...
dalecosp Posted November 21, 2013 Share Posted November 21, 2013 What's the difference between these PC's ... Screen resolution, by any chance? Link to comment https://forums.phpfreaks.com/topic/283970-image-being-cut-off/#findComment-1459383 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.