graphic design | parkland college

Graphic Design Exercises

Photoshop & Dreamweaver: Personal Projects Page

 

Objective

To learn Photoshop layout techniques by example. To review basic XHTML and CSS skills by building a personal projects page.

 

Discussion

 

 

Photoshop is often used by web designers as a layout tool to create "mock-ups" of web pages for client approval. Once approved, Photoshop has extensive tools to help you optimize the pixel elements for web production.

Once the pixel elements have been exported, we can then use Dreamweaver to write the XHTML and CSS code for web publishing.

The best way to learn XHTML and CSS is with Dreamweaver's code view. By observing how Dreamweaver writes code for you behind the scenes one can learn coding by example.

 

Procedure

 

Overview: Create a web page layout in Photoshop. Export the pixel elements and import them into Dreamweaver. Add text and style with CSS. Publish to server. Note: replace bold with personalized info.

Making the Photoshop mock-up

  1. download starter files (location: class/jsmith/projects_html)
  2. take a screenshot of your favorite browser at 1024x768
  3. launch Photoshop
  4. open screenshot in Photoshop; save as "projects.psd"
  5. rename "background" layer "browser"
  6. marquee live area, delete
  7. new layer "white", fill layer with white (cmd+DEL), restack layers
  8. rectangle tool: draw rectangle (layer shape), fill with color
  9. draw additional rectangles, fill with colors (cmd+T to scale)
  10. type tool: "Jane Smith Projects", add color
  11. spec font, scale (cmd+shift+< or >), track (opt+left/right arrows)
  12. view > ruler (cmd+R): draw guides for slicing
  13. slice tool: slice art
  14. rename slices "logo", "tile" (double-click with slice select tool)
  15. hide "browser" layer
  16. file > save for web (preset=JPEG high or GIF no dither; images only, user slices; location="projects_html")

Setting up your content

  1. launch Dreamweaver
  2. site > new site (advanced) "jsmith projects"
    (define local root folder: location=class/jsmith/projects_html)
  3. window > files: RMB local root folder > new file "index.html"; open file
  4. view > head content (cmd+shift+H)
  5. view > visual aids > show all (cmd+shift+I)
  6. view > code and design
  7. insert > image "logo.gif"; deselect (arrow right)
  8. insert > layout objects > AP Div; rename id="content"
  9. copy and paste text from "projects.txt" into <div> (aka "layer")
  10. format text: add <ul>, <h1>
  11. change "jane smith" to your name (all occurances)
  12. replace automatic date stamp: insert > date
  13. file > preview in browser (opt+F12 and cmd+F12)

Adding links

  1. browse to the sample projects page : copy and paste links into appropriate text (RMB > copy link to clipboard)
  2. link to sample images (use target=_blank)
  3. add other external links (tip: browse to web site, copy and paste URL, use target=_blank)
  4. select "back to top", add link "#"
  5. add email link to your name (i.e. "mailto:jsmith@stu.parkland.edu")
  6. file > preview in browser (opt+F12 and cmd+F12), test links

Adding CSS

  1. select layer: id="content"
  2. window > CSS: edit #content...
    > type: Verdana, 11/18px
    > position: width=70%, height=(blank)
  3. window > CSS: add CSS style to this document only (+):
    > tag=<body>: box: margins=0 (all); bg: "tile.gif" (repeat-x)
    > tag=<h1>: type: Georgia, 24/30, weight=normal
    > tag=<a>: type: decoration=none, color=? (point to color)
    > selector="a:hover": decoration=underline
    > class=".small": type: 9/14
  4. select <p>: apply style ".small"
  5. view > code: note formatting in header
  6. file > preview in browser (opt+F12 and cmd+F12)

Finishing the HTML file

  1. change title to something like "Jane Smith's Projects Page"
  2. insert > HTML > head tags > keywords
  3. insert > HTML > head tags > description
  4. window > snippets: meta > no cache (insert in code view)
  5. add alt tags
  6. commands > clean up XHTML
  7. file > check page...

Grading

  1. publish page (see separate lesson)
  2. link your published projects and assignments to this page

 

 

 BACK TO TOP

Version 1.0 • Last updated: 1/13/09 • Webmaster: Paul Young