How to Draw a Rectangle With a Border in Photoshop
Adding a border to a shape makes it more prominent and helps it stand out in your image. With Adobe Photoshop, it is possible to add a border to any shape you create. Borders include customizable elements, such as width, color and transparency. Change these elements to create a border that best fits your needs. Transparent shapes and shapes that are filled with color are capable of having a custom border.
Select the "Rectangle Marquee Tool" from the tool bar on the left side of the application.
Click and hold the left mouse button on the canvas, then drag your mouse to create a rectangle. A dashed rectangle shows your current selection. Release the mouse button when the rectangle is the correct size and shape.
Click the "Edit" menu at the top of the application, then click "Stroke." This opens a new window.
Enter a width for the border in the "Width" text box.
Click on the color swatch, then select a color for the border of the rectangle.
Select a location for the border. Apply the border to the inside of the dashed lines, centered over the lines or on the outside of the lines.
Select the blending mode and opacity.
Press the "Ctrl" key and the "D" key on your keyboard to remove the dashed rectangle.