Crop It Even Closer
When you’re designing graphics for the Web, you don’t want even one extra pixel of unused space, because it adds to the overall file size of the image. Because of that, you want to crop your Web graphics as tightly as possible. Luckily for us (you, them, etc.), Photoshop CS can do it for you automatically. Just choose Trim from the Image menu, click OK in the dialog, and it will crop your Web graphic as tightly as possible for the smallest possible file size. It does this by looking at the pixel color in the upper left-hand corner of your image and cropping down until it hits another color. (Note: The Trim dialog also gives you the option to base the crop on the bottom right-hand corner pixel color or transparent areas). This works especially well when creating type for the Web, because you’ll often create it on a white background.