Start learning with our library of video tutorials taught by experts. Get started

Photoshop CS6 for Web Design
Watching:

Creating a sprite grid


From:

Photoshop CS6 for Web Design

with Justin Seeley

Video: Creating a sprite grid

Before we can begin building image sprites in Photoshop, we have to first put together a document with a precise grid that will allow us to easily position our sprites and give us a clean X and Y coordinate for our CSS. I'll start off by going to the File menu and choosing New. Once I'm inside of the New Document dialog box, I need to create a document that will accommodate the full width of every icon in my set, as well as a height of double whatever the icons are, so that I can have both a normal and a hover state for each different button that I'm creating. So in this case each one of my icons is 32 pixels x 32 pixels, so I've got five icons in my set.
Expand all | Collapse all
  1. 1m 9s
    1. Welcome
      48s
    2. Using the exercise files
      21s
  2. 25m 50s
    1. Designing for screens
      1m 8s
    2. Decoding screen size and resolution
      3m 9s
    3. Exploring the PSD-to-HTML workflow
      2m 25s
    4. Setting up Photoshop for web work
      5m 29s
    5. Creating a new document for web
      2m 36s
    6. Creating a new document for mobile
      4m 24s
    7. Setting up a responsive web layout
      3m 31s
    8. Creating email newsletter documents
      3m 8s
  3. 20m 39s
    1. Adjusting color settings
      4m 13s
    2. Understanding web color
      4m 0s
    3. Creating a color palette
      4m 56s
    4. Creating custom swatches
      3m 34s
    5. Applying color to shapes and graphics
      3m 56s
  4. 20m 36s
    1. Exploring the Layers panel
      4m 9s
    2. Renaming and grouping layers
      7m 19s
    3. Searching and filtering layers
      3m 11s
    4. Using layer comps effectively
      3m 4s
    5. Using automatic layer selection
      2m 53s
  5. 29m 2s
    1. Using vector shapes vs. pixel shapes
      3m 31s
    2. Creating vector shapes
      5m 2s
    3. Working with fills and strokes
      4m 36s
    4. Working with Smart Objects
      7m 47s
    5. Importing images
      3m 57s
    6. Cropping and resizing images
      4m 9s
  6. 28m 48s
    1. Planning your project
      3m 13s
    2. Using guides and rulers
      6m 40s
    3. Using a grid system
      8m 28s
    4. Developing a layout with shape layers
      4m 4s
    5. Making pixel-perfect adjustments
      6m 23s
  7. 23m 19s
    1. Using point text vs. paragraph text
      2m 10s
    2. Using text as text vs. using text as an image
      2m 47s
    3. Understanding web-safe fonts
      2m 41s
    4. Inserting placeholder text
      4m 2s
    5. Creating and using character styles
      2m 37s
    6. Creating and using paragraph styles
      6m 11s
    7. Creating editable 3D text
      2m 51s
  8. 26m 54s
    1. Understanding layer styles
      7m 0s
    2. Creating and using drop shadows
      3m 23s
    3. Creating better bevels
      6m 9s
    4. Simulating metallic textures
      5m 8s
    5. Saving and applying layer styles
      2m 48s
    6. Turning layer styles into independent layers
      2m 26s
  9. 50m 23s
    1. Starting with a wireframe
      54s
    2. Organizing page structure
      2m 29s
    3. Adding master elements
      5m 37s
    4. Creating navigation
      4m 36s
    5. Working with photographs
      4m 0s
    6. Working with text
      8m 31s
    7. Creating media placeholders
      7m 22s
    8. Creating buttons
      7m 15s
    9. Creating form fields
      7m 54s
    10. Simulating pages with layer comps
      1m 45s
  10. 33m 38s
    1. Understanding slicing
      2m 4s
    2. Slicing up a mockup
      4m 15s
    3. Understanding web file formats
      4m 3s
    4. Exploring the Save for Web dialog
      5m 3s
    5. Optimizing photographs
      4m 17s
    6. Optimizing transparent graphics
      4m 56s
    7. Saving Retina display graphics
      5m 34s
    8. Using the Image Generator (NEW)
      3m 26s
  11. 10m 40s
    1. Understanding image sprites
      1m 25s
    2. Creating a sprite grid
      2m 54s
    3. Assembling a sprite
      4m 51s
    4. Optimizing sprites for the web
      1m 30s
  12. 18m 6s
    1. Creating a basic action
      5m 28s
    2. Exploring batch processing
      2m 55s
    3. Creating droplets
      3m 20s
    4. Using the Fit Image command
      4m 5s
    5. Using the Image Processor
      2m 18s
  13. 6m 56s
    1. Integrating PSD files with Dreamweaver
      3m 22s
    2. Integrating PSD files with Fireworks
      1m 59s
    3. Integrating PSD files with Muse
      1m 35s
  14. 50s
    1. Goodbye
      50s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Photoshop CS6 for Web Design
4h 56m Appropriate for all Jul 17, 2012 Updated Oct 04, 2013

Viewers: in countries Watching now:

Join Justin Seeley as he reveals how designers can create vibrant web graphics, wireframes, and complete web site mockups in Adobe Photoshop. The course covers creating a custom web workspace for maximum efficiency; drawing, coloring, and optimizing web graphics; creating vector shapes and text that scale seamlessly; mastering transparency; building navigation bars and buttons; and speeding up these tasks with the Photoshop automation tools.

Topics include:
  • Customizing a web workspace
  • Decoding the mysteries behind screen size and resolution
  • Coloring web graphics
  • Using layers and layer comps effectively
  • Working with transparency
  • Creating wireframes on a grid
  • Styling text
  • Creating image sprites
  • Optimizing images as JPEG, GIF, or PNG files
  • Integrating with the rest of the Adobe Creative Suite
Subjects:
Web Web Graphics Web Design Web Foundations
Software:
Photoshop
Author:
Justin Seeley

Creating a sprite grid

Before we can begin building image sprites in Photoshop, we have to first put together a document with a precise grid that will allow us to easily position our sprites and give us a clean X and Y coordinate for our CSS. I'll start off by going to the File menu and choosing New. Once I'm inside of the New Document dialog box, I need to create a document that will accommodate the full width of every icon in my set, as well as a height of double whatever the icons are, so that I can have both a normal and a hover state for each different button that I'm creating. So in this case each one of my icons is 32 pixels x 32 pixels, so I've got five icons in my set.

That equals 160 pixels across. And then each one is 32 pixels tall, so I need that to be double. That will be 64 pixels tall. And I'll hit OK. Once I do that, I need to go in and set up some preferences for my grid. So I use Command+K or Ctrl+K to open up my Preferences. I'll go into Guides, Grids & Slices. And inside of my Grid section by default it should say something like 1 inch over here on the right. I'm going to change this to say 32 pixels. So I want one gridline every 32 pixels, making it easy for me to assemble each 32 pixel x 32 pixel square into its own little slot.

I'll hit OK. And now I need to turn on the grid, so I'll go to View > Show, and I'll select Grid. There we go. Each one has its own little 32 pixel x 32 pixel square. Now as you work, you may find that the grid is a little bit distracting. It kind of takes away from the colors and it might not give you a good representation of what your artwork is actually looking like. So if you don't like these little gridlines all over your artwork, you can simply draw out guides to replace them. That's what I'm going to do now. So I'll draw out some horizontal guides. And if you can't see your rulers, hit Command+R or Ctrl+R to bring those up.

And I'll just drag out a ruler guide here, drag one out there, and they should snap right to these gridlines. And I'll draw out some vertical lines as well, just so we have some boundaries. And there we go. So now that I have all of those lines, I can actually go up to the View menu, choose Show, and turn off the Grid, and now I have a nice clean white canvas right there in the middle. Notice when I mouse over these I no longer get that small little control handle anymore. I can't do anything with them because the guides are locked.

So now I'm simply going to save this out and then I'm going to be able to use that to assemble my image sprites going forward. So anytime I have a 32 pixel x 32 pixel icon sprite that I need to create, this is what I would do. Now depending on how many icons in my set that I have, I might have a wider document or if I need more than one state, I might have a taller document. But this is the basic setup for every time I create a 32 pixels x 32 pixels sprite. Now if you have 64 pixels x 64 pixel sprites, you do the same thing; 512 x 512, whatever it might be.

It would always depend on what type of images you're working with, what type of icons you're designing, but this is the basic way that I set up my sprites each and every time.

There are currently no FAQs about Photoshop CS6 for Web Design.

Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Photoshop CS6 for Web Design.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked