By default Photoshop tries to improve image quality by adding a feather effect to the contour of resized images. This feature can be very annoying when you're working on web designs. You have surely already experienced it. Here is a screenshot of what we're talking about:

The image just doesn't look crisp like this and this is a basic square. Notice the values for positioning and size are not natural numbers. There is no such thing as half a pixel, but photoshop will try to achieve the effect with that feather. Fortunately you can change the settings to reduce this to a minimum.
Set up proper units
Go to File > Preferences > Units & Rulers. Change the units for both Types and Rulers to pixels.
Set up a grid
From the preferences menu choose Guides, Grid, Slices & Count. Now set a pixel grid according to your needs. It's good to have subdivisions every pixel for the images to snap to.

Set up snapping options
Now that you have the right units you want the images to snap to your guides and grid.

Snap vectors to pixels
One last thing you may find useful is to make sure your shapes snap to natural pixel numbers. This is specially useful for shapes with curved lines. To activate the snapping check the box in the tool options as you see in the screenshot.
![]()
With this small changes you'll save a lot of time and frustration when designing for the web.

thanks a lot mate this was great help
Have fun adding circles to your site ;)
[quote name="Demente"] Kind of like making circles with CSS border-radius ^^
Cheers![/quote]
and I never thought of that haha, that would be perfect for my site. cheers!
True. That's a nice technique, thanks for sharing it :) Kind of like making circles with CSS border-radius ^^
Cheers!
nice! I forgot about this , thanks for the refresher. and also the elliptical tool has no snap to pixel option.
but you can still do a perfect snapped ellipse by using the round rectangle tool and giving it a really really high radius, like 800 px. then you can create perfectly snapped circles now. Cheers!
I just burped :O
Wow great tutorial. This gonna help me so much. Thanks a lot
Nice post ,thank i will try it. :)
Don't worry, it happens to all of us XD
Good god. The fact that I never thought of this makes me so ashamed.
Thanks for pointing out the disgustingly obvious (after you realize it).