Photoshop CS3 question

I am using Photoshop CS3 to create text images for my website. I am wondering how to do the following:

1. Align text horizontally and vertically to a canvas (so it’s in the dead center).

2. Crop the canvas / picture size to the exact width of the text.

Could someone please help me with this?
 
For the first question, when you have the Text tool selected, are you talking about the lines next to the color block?

And for the second, have you tried going to the Image tab, and going to Canvas size?
 
Flash is good, but Photoshop and or Fireworks can accomplish this though.


I've done several text/image banners in PSCS3 for my sites.
 
For the first question, when you have the Text tool selected, are you talking about the lines next to the color block?

And for the second, have you tried going to the Image tab, and going to Canvas size?

No I the text to be positioned in the exact middle of the canvas. I cannot "choose" the canvas size myself because I do not know the pixel width of any given text I may type. The program needs to figure this out for me (and it can I just don’t know how).

Like this:

40944733mn7.jpg
 
I cannot use Flash because I am modifying an existing large website not creating a new one. I would have to rewrite the navigation bar and layout for every one of my many hundreds of pages. By using images to update the navigation bat I just have to substitute the new picture for the old one and thus I am only going to use images for the nav bar.
 
You can do those two in one stop if you only want the text, select the layer the text is on and press CTRL+A and then create a new file. The image should then automatically have the same size as the text itself. If you want to add a background to that you can do so on another layer in the new file and it should be cropped to the right size.
 
Back
Top