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

So this may sound like an easy question, but it is not.

In webdesign we often use rectangular or square shapes to represent backgrounds for sidebars etc. These need to be pixel perfect so that when it goes into HTML cut up the correct dimensions are preserved.

When drawing a rectangular shape it will often snap/move one or two pixels when the mouse is let go. I can see in the inspector pane that the dimensions are correct when I let go of the mouse, but I then witness Photoshop redistribute the dimensions as it sees fit.

Is there a way I can just enter a pixel height and width as numbers for shapes like with the rectangular marquee tool? Alternatively is there some way to stop this movement occurring?

share|improve this question
up vote 5 down vote accepted

This is very easy

For Marquee selection :

enter image description here

For shapes (all kind of) :

enter image description here

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.