Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created this button state image in Illustrator.

enter image description here

When I choose Save for Web it looks like this in the preview:

enter image description here

How, on saving for web, can I make the black single-pixel line maintain its black color and prevent the line colors from bleeding into one another?

I am using Illustrator CS4.

share|improve this question
up vote 1 down vote accepted

In the Save For Web dialog, under the "Image Size" tab, uncheck Anti-Alias.

Or uncheck Anti-Alias in the export options dialog when exporting.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.