Oftentimes, we need some way to structurize our website so that certain text or objects have a container the separate it from other content on the site. In this tutorial, we’ll create a container for content in a website. I find that by using these little containers, it helps bring greater organization to a website and your visitors will know which parts are separated into their own categories.
1. Open a new document in Photoshop. Create a new layer. Call it “Section Container”.
2. Use the Rectangular Marquee tool to create a squarish shape for your container. Fill the selection in with a color of your choice.
3. Goto Select > Modify > Contract. Enter in a value for the width in pixels that you would like the border for your section container to be. Click OK.
4. Your selection should now have moved in a bit. Click the Delete key and you should now have a border for your Section Box.
5. Next, we need to create the header for the Section Container. Add a new layer that is above the “Section Container” layer. Name this new layer “Category Bar”.
6. Use the Rectangular Marquee tool and create a rectangular box over the top border of your Section Container.
7. Now fill in this box with a color of your choice.
8. Right click the “Category Bar” layer and select “Blending Properties”.
9. When the blending properties box opens, select “Bevel and Emboss”. Change the Depth, Size, and Soften sliders so that the header is not too rounded and appears more like a button. Click OK to close “Blending Properties”. I like my category bar to look flat like the one below so that the text fits flatly over it.
10. Then select the Type Tool and enter your text over the “Category Bar”.
11. That’s about it. If you want, you can add another layer beneath the “Selection Container” layer and paste a background image or texture. When you are done, just slice the box so that it can be used in your HTML website.