Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

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'm having trouble with getting exact locations and sizes when creating background graphics for my buttons. I can never get a clean x pixels by y pixels - it always ends up having a couple decimal places. This happens for the both the size and location of the shape.

I have snapping on, but it doesn't seem to be working. How can I ensure that everything is precise?

share|improve this question
When you say you have snapping on, are you talking about "Align Edges", "Snap Vector Tools and Transforms to Pixel Grid" or are you using Snap To > Grid? "Snap Vector Tools and Transforms to Pixel Grid" is the one you want (Photoshop CS6 only... there's a similar option for versions prior to CS6). – Marc Edwards Jul 29 '12 at 7:41

The grid settings were messed up from when I was trying to figure this stuff out before.

I went to Edit > Preferences > Guides, Grids, and Slices, and changed gridlines to every 1 pixel with 1 pixel subdivisions.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.