Parkland College > CSIT Dept > Web Technology > CSC 121 >
Calendar > Lesson 9


CSC 121 WEB SITE DESIGN
Lesson 9: Background Tiles in Photoshop
Instructor: Paul Young

 

 

 

Objectives

 

 

To learn techniques of tiling background images by creating a web page similar to this sample page.

 

 

 

Discussion

 

 

Graphics make web pages look good. However, the larger the graphics, the slower the page will download. One way to create large graphics that download fast is to make use of tiling.

Tiling is essentially a graphic repeated over and over. Since the graphic only needs to be downloaded once, the page will load fast. This lesson will demonstrate two popular techniques of tiling.

 

 

 

Procedure

 

 

Overview: Create background tiles in Photoshop. Import art into Dreamweaver as background images attached. Test, publish to server.

Creating the art in Photoshop

  1. launch Photoshop
  2. file > new: 760x420, RGB; save as "dots.psd" (in "prep/lesson9")
  3. practice navigation shortcuts (space; space+cmd; space+cmd+option; cmd+1, cmd+2, cmd+3)
  4. fill background layer with a solid color
  5. new layer "dot"
  6. ellipse marquee tool: draw circle (+shift)
  7. fill circle with a different color
  8. position circle in upper left corner
  9. square marquee tool: draw square (+shift)
  10. edit > define pattern "dot1", deselect (ctrl+D)
  11. new layer "pattern"
  12. edit > fill: use=pattern "dot1"
  13. draw guides for slicing, slice
  14. file > save for web "dots-tile.gif" (images only, in "upload/lesson9")
  15. new layer "stripe" (opacity=50%)
  16. square marquee tool: draw rectangle
  17. fill selection with a dark color
  18. file > new: 2x2, RGB, bg=transparent; save as "square.psd" (in "prep/lesson9")
  19. view 1600%
  20. pencil tool: make 2 single pixels of foreground color (brush size="[" or "]")
  21. file > save for web "square-tile.gif" (in "upload/lesson9")

Importing art into Dreamweaver

  1. launch Dreamweaver
  2. define a new site (site > manage sites > new site): name=lesson9,
    local root folder=jsmith/csc121/upload/lesson9
  3. new file "tile.htm" (ctrl-click root folder)
  4. new CSS style (this document only): redefine HTML tag <body>
    (bg="dots-tile.gif"; box: margin: top=0, left=0, right=0, bottom=0)
  5. draw new layer: L=20%, T=40%, W=60%, H=20%, bg="square-tile.gif"
  6. draw new layer: L=50%, T=50%, W=400px, H=40px, add type
  7. new CSS style (this document only): redefine HTML tag <p>: font=verdana, size=11, line height=18, color=white; block: text=center
  8. new CSS class (this document only): ".middle": box: margins: T=-20px, L=-200px
  9. apply style to "layer 2"
  10. save, file > preview in browser (F12)
  11. troubleshoot, publish (see instructions from lesson 4)

 

 

BACK TO TOP

______________________________

Last updated: 9/5/05 • Webmaster: Paul Young

 

 

Student
Exhibition

Influential
Designers

Internet
Resources

Tips, Tricks
& Handouts