Webmasters Stack Exchange is a question and answer site for pro webmasters. 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

When converting psd to (x)html, there's this time that you want to get the height/width of a particular selection. For example, you have an item which is to be converted as <div> in coding. Then the <div> requires a fixed width/height. How would you get it from the psd?

My way is to crop the psd, then press ctrl+alt+i to get image size window. Is there a better way than this? Cause sometimes, cropping takes time depending on the psd file.

I wanna hear it from the pro webmasters. Thanks.

share|improve this question
up vote 5 down vote accepted

On a default workspace setup, there is an Info tab in the upper right-hand panel with the Navigator and Histogram options.

The Info tab will display the dimensions of your selection if you are using the selection tool.

You'll probably want to change your Units and Grids settings in Edit > Preferences > Units and Grids to get the dimensions in pixels.

share|improve this answer
+1 Thanks! Really helpful. – Reigel Oct 4 '10 at 1:08

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.