Skip to content

6 comments

Dude, don't slice. Just create it in layers like a pro.

5 points

do you have any tutorials or websites that show how to do this?

1 points

No, but it's just a matter of creating your work in layers. Let's say you want just a plain black background, a white background that looks like aged paper, and 4, round & shiny buttons as your nav buttons.

  • In photoshop, you'd draw the paper on one layer and dodge and burn it so that it looks aged (actually, you might want to draw the plain paper in illustrator bc drawing in photoshop sucks, but whatever).

  • Then, you'd make a new layer and put a shiny button on it.

  • Then, you'd copy the button layer 3 times and arrange each button so that it was lined up (just to see where to put it- you kind of don't have to do this part).

Now, you have a layout that is created in layers, so each element is on its own layer.

  • Go to a button layer (any layer will do, but let's say you're doing buttons first), draw a marquee around your element with as little room around the edges as possible, hit ctrl+c to copy (cmd + c on mac)
  • Hit ctrl + n to make a new file (cmd + n on the mac) (photoshop should remember the dimensions of your marquee automatically-- but make sure the background is transparent)
  • ctrl + v to paste (cmd + v = mac)
  • Now, you have your button in a new file with a transparent background. Make sure your button is centered.
  • Ctrl + S to save this PSD so you can have it as a button template
  • ctrl + shift + alt + s to go to "save for web" and save the button as an appropriate web file (if you're baffled by this, google the difference b/t types of files or just play around with it until you have the best-looking version of the smallest file size)

Now, use CSS to position all of these elements where they belong on the page. If you create everything so that it's separable from all the other elements, you can always use CSS to position elements as you change your mind or the site changes. Obviously, if two elements must always be together, you can get away with creating them on the same layer.

Hope that helps!

2 points

This was an ebook/guide released by the Tuts+ network or Envato or whatever. I believe it is still on sale. If so, this isn't the most legal way of obtaining this guide and you should support the amazing writers who brought you this valuable information by purchasing it. If I remember correctly it really is a bargain, $20-$30 for information that can help you to start earning a lot more money in return.

3 points

From Photoshop to HTML – How to Slice your design like a pro

Jeffrey Way – NetTut+ Present

Đây là quyển sách về thiết kế giao diện cho web site từ Photoshop và chuyển thành trang HTML. Sách bao gồm 1 file PDF 144 trang và 13 video. Kèm theo bộ sản phẩm là các file HTML, CSS, JavaScript, hình…

-1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.