This Season
 

PSD to HTML Tutorial

When a web developer is about to create a web page usually he will get an Adobe Photoshop document, or PSD, from the web designer. This PSD may include multiple design instances called Layer Comps. Layer Comps (a new layer management tool in Photoshop) show the web developer what changes to the original design to focus on. The developer then assesses each page and translates the design into the proper website format and code. This guide will help you create a strategy to properly convert PSDs into HTML pages.

Related Searches:
    1. Review Layer Comps

      • Click through each Layer Comp in Photoshop to see the various states of the design. Each Layer Comp will have various differences that are important to the design and your code. For example, one layer comp may have rollover states; another may have background image differences. If Layer Comps are not available, then review PSD as is.

      Create Guides of Main Areas

      • Separate the design into three areas: Header, Content, Footer. This is done in Photoshop through Guides. Create a Guide by dragging grid lines with the mouse from the edge of the Photoshop document to the edge of the areas you want to separate. For example, you want to create a Guide that separates header from content. There is usually a distinct difference from where the header ends and where the content starts; if not, use your best judgment.

      Create HTML/CSS for Main Areas

      • In your text editor code basic HTML tags: html, head, and body. Inside the body tag create a container for the page (i.e., <div id="container"></div>). Inside this container insert a div for the header, content, and footer areas you created guides for. In Photoshop, using the Rectangular Marquee Tool draw a box along the edges of the guides you created, then under "Image" (located at the top of the program) select "Crop". Go to "Image" then "Image Size" and you'll see exact height and width dimensions of the area you cropped. You will need this to define your CSS. For background images, in Photoshop go to your layers palette, click the eyes to show and hide certain layers until you get just the background you need.

      Page Specifics

      • Create guides for padding and margins between areas of the page (i.e., header to content, content to footer, footer to bottom of the page). Save graphics of all text elements in unusual fonts that cannot be rendered as system text. For example, text done in a Papyrus font needs to be sliced and saved as an image because the web won't render it as system text. Toggle between Layer Comps to make sure Guides do not overlap.

      Create HTML/CSS of Page Specifics

      • Define universal CSS for consistent tags such as paragraphs, anchors, tables, header tags, and list items. Begin plugging in content starting with the header and footer then filling in the content areas. The header and footer are usually consistent on every page of your website. Break up the content area into copy, modules, and navigation. Obtain colors, fonts and line spacing from the PSD and incorporate into your CSS file.

      Compare HTML file with PSD

      • Save CSS files as .css and your HTML files as .html. Open HTML file through multiple web browsers by going to File then Open Location. Review the HTML file against the Photoshop design and check for differences. Note differences on a sheet of paper, then fix your HTML or CSS code to match PSD design. Continue this process until what you see in the web browser matches that of the PSD design.

    Related Searches

    References

    Resources

    Read Next:

    Comments

    You May Also Like

    • How to Change PSD to PDF

      When you work on an image using Photoshop, Adobe's application for creating, editing and modifying images, the file is saved in the...

    • How to Slice a PSD in CS4 to HTML

      Coding a Web site or Web file may be a difficult task for designers, but using Adobe Photoshop CS4 to create Web...

    • How to Design a PSD Template Tutorial

      A Photoshop Document (PSD) is the file extension used by the popular Adobe Photoshop application. Photoshop can be used for image enhancement,...

    • How to Make Photoshop Layer Comps

      Photoshop's layer comp feature can save a lot of time and trouble. Rather than saving several versions of a file to see...

    • How to Open a .PSD

      PSD files (sometimes called PSD templates) are a proprietary file format for Adobe Photoshop, although many contemporary graphic software programs are capable...

    • How to Change a PSD File to a JPG

      After creating or editing graphics projects in Adobe Photoshop, the application saves the Photoshop drawings as PSD files. PSD is the native...

    • How to Convert PSD to JPG

      Let's say you have a PSD (Photoshop) file that you would like to use, but the program you are working with specifies...

    • HTML Table Tag Tutorial

      Web developers use the HTML (hypertext markup language) table tag to position and organize a web page's content. Although cascading style sheets...

    • How to Convert a PSD to a Dreamweaver File

      Dreamweaver helps you to create web pages and entire websites for the Internet. Technically, Dreamweaver doesn't really "convert" Photoshop PSD image files...

    • How to Unlock a PSD File

      PSD is a file type used with Adobe Photoshop. When opening a PSD file in Photoshop, the file or a layer in...

    • How to Make a PSD Using Photoshop

      You've heard of "Photoshop," the shortened name of the Adobe Photoshop Elements software. The default extension used by Photoshop is a PSD...

    • How do I Convert Fireworks PSD to a Dreamweaver File?

      Fireworks is photo-processing software made by Macromedia to accompany Dreamweaver. It edits photos much like Photoshop. PSD is the default designation of...

    • How to Edit a PSD File

      PSD, short for photoshop document, is the native file format of the Adobe Photoshop image editing software. Unlike common graphics formats such...

    • How to Convert to PSD

      PSD (PhotoShop Data) is the Adobe Photoshop native file format. The .psd file extension indicates that the file contains graphic data. When...

    • How to Open .Psd Files

      .PSD is the file extension for Adobe Photoshop. Photoshop is the leading commercial art and image-editing program used by graphic designers, web...

    • Step-by-Step Tutorial to Developing an HTML Flash Website Using Dreamweaver MX

      Dreamweaver is a web development application developed by Macromedia and later purchased by Adobe and then added to the Creative Suite. Dreamweaver...

    • How to Convert a PSD File to Use on a Website

      PSD documents are the native file format for Adobe Photoshop, Generally, these documents are made up of layers that contain the various...

    • Microsoft Expression Web 2 Features

      Microsoft Expression Web 2 Features. Microsoft Expression Web is a dynamic WYSIWYG (What You See is What You Get) website design program....

    • How to Convert a PSD Image to Corel

      Graphics designers create images using a PSD file extension in Adobe Photoshop. Although these images have a unique Adobe file extension, you...

    • How to Cut and Map Graphics for CSS Web Designs

      Cutting or "slicing" a graphic for a CSS web design is a way to optimize a large image for your website. The...

    Follow eHow

    Related Ads