p0

1. Open  Photoshop and create a new document of 25px/25px or smaller.

To create a pattern for buttons, create a document of 13px/13px.

p1

2. Fill the Background layer with a dark color, black (#000000), for example.

3. Add a new layer on top of the dark background.

4. Select the Zoom tool (z) and zoom in the document to its maximum size.

5. Press the D+X keys on your keyboard to reset your foreground/background color to white/black.

6. Select the pencil tool and set it to 1 px.

7. Draw the following 13px lines on the square:

pt2

Note:  Each line is 1px/13px or 13px/1px. For buttons, for smoother stripes, we use a 13px/13px document and the lines, we draw, are 1px/8px and 8px/1px.

8.    Connect the lines like in the image below:


pt3

9.    Use the Pencil tool to fill the empty areas with white:

pt4

10.    Hide the Background Layer (Black).

11.    From the Edit menu, select Define Pattern.

12.    In the Pattern Name dialog, enter a name for the newly created pattern.

pt5

13.    Click OK.

This type of pattern is usually used for website backgrounds and wallpapers. To create this pattern for buttons, you need to create a new document 13px/13px, and draw lines of 8px instead of the lines of 13px. This way you will create 5px stripes.

Related posts:

  1. Adjusting an image: Adding the Levels Layer and Hue/Saturation Layer
  2. Cum creezi un Web 2.0 Design
  3. Photoshop CS3: How to Design Glossy Web 2.0 Buttons
  4. Photoshop CS3: How to Create an Abstract Background
  5. How to create a bitumen road in Photoshop