how-to: convert psd to html/css by artmov

14
how to convert PSD to HTML/CSS The definitive guide for converting Adobe ® Photoshop ® designs into HTML/CSS.

Upload: artmov

Post on 26-Aug-2014

10.041 views

Category:

Self Improvement


1 download

DESCRIPTION

Learn how to transform a design made in Photoshop into functional HTML/CSS. More: http://artmov.com/ebooks/how-to-convert-psd-to-html-css

TRANSCRIPT

Page 1: HOW-TO: Convert PSD to HTML/CSS by Artmov

how to convert

PSD to HTML/CSS

The definitive guide for converting

Adobe® Photoshop® designs into HTML/CSS.

Page 2: HOW-TO: Convert PSD to HTML/CSS by Artmov

Analyze

Write

Check

E A S Y 3 S T E P S

Page 3: HOW-TO: Convert PSD to HTML/CSS by Artmov

AnalyzeAnalyzing the design before getting to work

Page 4: HOW-TO: Convert PSD to HTML/CSS by Artmov

Converting is like a lego game that has been already built by a kid.

You need to break it into pieces.

Take any design, break it down into smaller pieces and see which of those can be reproduced with CSS properties or which can’t.

Page 5: HOW-TO: Convert PSD to HTML/CSS by Artmov

The buttons have a solid border that can be done with CSS, so you can remove it.

The shadows can be entirely recreated with CSS3, too, so remove them as well.

Page 6: HOW-TO: Convert PSD to HTML/CSS by Artmov

WriteGetting to work

Page 7: HOW-TO: Convert PSD to HTML/CSS by Artmov

.fl {

float:left;

}

.fr {

float:right;

}

.cl {

clear:both;

}

fl (floatleft)

Floats elements on the left,

regardless of type.

fr (floatright)

Floats elements on the right,

regardless of type.

cl (clearing)

Clears any above elements, both

on the left and on the right.

Don’t repeat yourself.

Page 8: HOW-TO: Convert PSD to HTML/CSS by Artmov

#logo h3.incl a { height:51px; width:182px;}

Save & refresh for results.

Don’t. Repeat. Yourself.

Page 9: HOW-TO: Convert PSD to HTML/CSS by Artmov

Use the Photoshop’s Marquee Tool

to get the width, height.

Page 10: HOW-TO: Convert PSD to HTML/CSS by Artmov

Check for results. Regularly.

Page 11: HOW-TO: Convert PSD to HTML/CSS by Artmov

CheckVerify your results for maximum compatibility

Page 12: HOW-TO: Convert PSD to HTML/CSS by Artmov

List below which parts don’t match:___________________________________________________________________________________________________________________________

Firefox 12 (12.0)

the header social icons aren’t aligned.

Hunt the bugs!

Page 13: HOW-TO: Convert PSD to HTML/CSS by Artmov

List below which parts don’t match:_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

the social icons are misplaced;the header bar adds a bottom space;the p.category is being cut;the custom buttons are being cut also;the gray/white split isn’t displayed;the footer doesn’t have the bottom space;the #blog icons aren’t being displayed.

Internet Explorer 7(besides IE8 bugs)

Be patient.

Page 14: HOW-TO: Convert PSD to HTML/CSS by Artmov

Get this step-by-step guide.

It’s available at:artmov.com/ebooks/how-to-convert-psd-to-html-css

artmov.com