Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PNGs having transparency issues

Featured Replies

Have an illustrator vector with some gradients (going from dark grey to transparent, not to white) I export a slice as a png 24 with transparency enabled. If I then open this png in ai or ps the transparency is fine, no problems. However, if I used the png for a webpage there is no transparency, instead the gradient goes from dark grey to white. I have tried this in ie8, latest version of firefox, opera, safari and chrome but they all have the same issue.

 

Not experienced this before, does anyone have an idea as to what might be the issue?

 

Thanks

Could you drop this image here?

When I open with Inkscape it says it's an image with a bad reference.... going to look this up in my manual as not sure what this means lol! Will get back to you..

 

Edit: The bad reference relates to the name of the file wrapper-background.png. When changed to wrapper_background.png it's fine. Not sure if that helps you though...

 

Is there a setting in illustrator to check background of image is transparent? I've made this mistake with inkscape in the past.

  • Author

Thank you both very much! Really helped me out. I re-exported the png as wrapper_background as opposed to wrapper-background and the issue is resolved. A userful problem solved for the future!

Have an illustrator vector with some gradients (going from dark grey to transparent, not to white) I export a slice as a png 24 with transparency enabled. If I then open this png in ai or ps the transparency is fine, no problems. However, if I used the png for a webpage there is no transparency, instead the gradient goes from dark grey to white. I have tried this in ie8, latest version of firefox, opera, safari and chrome but they all have the same issue.

 

Not experienced this before, does anyone have an idea as to what might be the issue?

 

Thanks

 

Have you flattened transparency in Illustrator and then tried exporting?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.