Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design > Adobe Photoshop

Developing a Web Site in Photoshop 6

This article by Peachpit Press Photoshop author Michael Baumgardt will walk you through every step of web page development from the design perspective -- showing you some of the new features of Photoshop 6 -- through the optimization of the images, up to the point of creating an HTML page in GoLive.
This article is excerpted from chapter 6 of Adobe Photoshop 6.0 Web Design by Michael Baumgardt.
Like this article? We recommend

Like this article? We recommend

The best way to learn is to read about it and then do it. For this reason, I created this simple mock-up for a (fictitious) consulting company that uses many of the elements that you find in real-world Web sites. I will walk you through every step of the development from the design-showing you some of the new features of Photoshop 6-through the optimization of the images, up to the point of creating an HTML page in GoLive.

Figure 1 This mock-up of a Web site shows you some of Photoshop's new features.

1. Creating a sidebar: after creating a new 640x600 file (File > New; Contents: Background Color), create a second (temporary) document for the fill pattern; make it four pixels wide by one tall. The first pixel is a light gray (RGB: 204, 204, 204), the second pixel is a dark gray (RGB: 102, 102, 102), and the third and fourth pixels are a medium gray (RGB: 153, 153, 153). Use the maximum magnification to paint the pixels with the Pencil tool. To define a color, click on the Foreground Color field in the Tools palette and make sure that the Only Web-Safe Colors option is selected in the Color Picker.

Figure 2

Figure 3 Use the Only Web-Safe Colors option when creating the pattern.

Edit > Define Pattern will store this small document as a pattern. You won't need this document anymore, but you can save it for later in case you want to edit it. Switch back to your first document and display the rulers (View > Show Rulers). To create the actual sidebar, use the Rectangle tool, but before you start, make sure to select the Create New Shape Layer option and check that No Style is selected from the Layer Style pop-up menu. You are now ready to create a layer with a layer clipping path: usually this would require that you first create a new layer, but since this is a new document and we are working on the background layer, Photoshop will create a new layer for you automatically.

Figure 4 Before drawing with the Rectangle tool, make sure that No Style is selected in the options bar.

Figure 5 The shape is filled with the pattern. In the Layers palette, you can see the new layer with its clipping path.

Draw a 150-pixel-wide rectangle for the sidebar; it will fill with the foreground color. To fill it with the pattern, create a pattern overlay layer effect: choose Layer > Layer Style > Pattern Overlay, and select the pattern that you saved previously from the pop-up menu. Voila. Your sidebar is done.

Figure 6 In the Layer Effects dialog box, select Pattern Overlay and pick the previously saved pattern.

2. Creating the arch: when designing a Web site in Photoshop, you should decide early on whether you intend to use frames or just tables when you prepare the HTML. This decision affects what you can and can't do when designing in Photoshop. While this particular design could also be re-created with tables, it is much more suitable for frames and we want to design the arch that is later going to be in the top frame.

Create a new layer in the Layers palette (by clicking on the Create New Layer button) and use the Rectangle tool to draw a shape that's 95 pixels tall and offset from the top by 20 pixels; you will have to zoom in to do this precisely. If you need to adjust the shape later, you can do so with the Path Component Selection tool, with the option Show Bounding Box checked in the options bar. With this bounding box you can reshape the rectangle as you would in Adobe Illustrator; the only difference is that you have to double-click in the rectangle when you are finished resizing. Another tip: if you adjust the shape while the bounding box is visible, the Free Transform tool becomes active and its options bar will display the position of the bounding box.

Figure 7 In the Path Component Selection tool's options bar, check the Show Bounding Box and then drag a handle of the shape to resize the rectangle.

To change the rectangle into an arch, click on the lower right corner of the rectangle with the Direct Selection tool (the white mouse arrow), and drag the anchor point up while pressing Shift (to restrict the movement to the vertical axis). Use the Add Anchor Point tool to add an anchor point to the middle of the path, and move this anchor with the Direct Selection tool until you get a nice arch.

Figure 8 After the lower right anchor was moved up, an anchor point was added to the path and then moved to create the arch.

Fill this path with a pattern as you did with the sidebar: open a texture, define it as pattern, and select Pattern Overlay in the Layer Effects dialog box. Also select Drop Shadow.

Figure 9 A copy of the arch was created, an anchor added, and the rest deleted. Then the remaining path was copied.

3. Creating the sidebar navigation buttons: if you are familiar with Adobe Illustrator and working with the Path tool, this should be no problem. Duplicate the layer with the arch (using the Duplicate Layer button in the Layers palette pop-up menu), then choose Layer > Layer Style > Clear Layer Style to get rid of the layer effects in this copy. Now cut out the part of the arch that lies over the sidebar and use this as the basis for the buttons (to ensure both arches will match). Select all anchor points with the Direct Selection tool-except the anchor point at the lower left-hand corner of the arch, and the newly-added anchor point directly to its right. Then drag the path parallel by pressing Shift and then Option/Alt before releasing the mouse button to create a copy automatically. Connect the ends of the paths with the Pen tool and use the Convert Point tool to adjust the handles of the anchor points. Change the color of the shape to black in Layer > Change Layer Content > Solid Color. Finally, adjust the Opacity of each button, making the lower buttons more transparent. The other two buttons are simply created by duplicating this layer, then moving and adjusting the paths and transparency.

Figure 10 The path is reshaped using the Convert Point tool and then the content is changed to Solid Color.

With the Text tool, click where you want to place the labels for the buttons and then type the text. Make sure that the foreground color is set to white before you do this, otherwise you have to change the color later by highlighting the text with the Text tool and changing the color in the Color Picker. To rotate the text layer, use Edit > Free Transform (if this command is grayed out, select the Move tool first). You will see a bounding box that you can use to scale and rotate the text (consult the Photoshop manual for instructions on how to use the Free Transform command). Once the text is in position, duplicate the layer twice and change the text.

Figure 11 With the Text tool, click where you want to place the text. Rotate and resize the text using the bounding box.

4. Creating the top and bottom navigation bars: for the background of the buttons, create the shape again with the Rectangle tool. Instead of using beveled buttons, use the Inner Shadow effect and disable the MouseOver rollover state in ImageReady to give the appearance of the gray background moving up when the mouse is positioned over the button. Once youÕve placed the text for the buttons (and the black rectangle on the left side), create a new folder (Layer Set) in the Layers palette and drag all the elements of the top navigation in it. Being able to organize the content of the Layers palette in folders is a true blessing of Photoshop 6.0. Not only does it help you keep an overview, it makes it easy to duplicate several layers at once. Select the top navigation bar layer set in the Layers palette and use the Duplicate Layer Set command in the Layers palette pop-up menu. Drag the new set to the bottom of palette.

Figure 12

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020