Go Back   iGuides Webmasters and Business Talk > iGuides Tutorials > Designing Tutorials
Register FAQ Rules Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)   Report Post  
Old 03-02-2008, 06:00 PM
Newbie
 
Join Date: Feb 2008
Posts: 3
tech3 is on a distinguished road
iTrader: (0)
Default Converting PSD to HTML

Hi, here is a tutorial for you guys to convert PSD to HTML/CSS

In this tutorial, We will be discussing how to convert a PSD to HTML/CSS format. For the conversion, you would obviously require a PSD, already made in Photoshop, Photoshop to alter and handle the PSD, and a text-editor for HTML and CSS coding. The basic steps, for the conversion are stated below, followed by detailed steps and screenshots.

Step 1) This step is about thinking of the design and planning the product
Step 2) This step is about handling the PSD.
Step 3) This step is about integrating the PSD parts into HTML/CSS code for the final result.


Lets start with the first step

Planning and Design

This step is mainly about thinking about how you would like to use this PSD into your web document, and how will you go about doing the stuff. This is the planning phase which lets you decide what you would be doing with the PSD and integrate it with the web code. Basically, this step is about overall planning.

Handling the PSD

Open the PSD in Photoshop, ready for editing and making the changes as shown below.



Now, we will have to slice the entire scene into different parts. These parts will then be individually saved, and used in our final product.

For this, we use the Slice Tool, which can be selected by using the K key or by clicking in the interface as below.



A slice is created by clicking and dragging the desired area with the slice tool. After the slice is ready, we right click on it and give it a name.



After the slicing has been done, and your are ready with the individuals, we save this PSD and all its slices. Go to File>Save for Web , click Save, and confirm the settings as shown below and again click on Save



Now, we are done with the slices, and we will move forward to their usage in the HTML/CSS code.

The HTML/CSS code

After you have saved the PSD into a folder, create two files, namely abc.html and styling.css
You will get a folder like this..



Now, the file abc.html is programmed with the following code in the editor.



The below code is inserted in the styling.css file.



Using the codes above, we get a layout in the web document as below.



You can follow the regular coding techniques now, and the website will code on the layout that you have achieved with the PSD to web code conversion. The level of conversion depends upon the amount of slicing, and you can include icons too, by slicing them from PSD, and placing them individually into the webcode using CSS.

By iGuides' Tutorial Writer: Jitesh Banga

Source: iGuides.org Webmasters Talk

Last edited by iGuides : 03-03-2008 at 05:12 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)   Report Post  
Old 03-02-2008, 06:11 PM
sizzler_chetan's Avatar
I hate spam! Understand?
 
Join Date: Sep 2007
Location: India
Posts: 350
sizzler_chetan is on a distinguished road
iTrader: (1)
Send a message via MSN to sizzler_chetan Send a message via Yahoo to sizzler_chetan
Default

Wow something really good to learn there..
A good tutorial, will go read it again slowly and try to make a html page from one of the psd's that i have.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)   Report Post  
Old 03-02-2008, 06:46 PM
Newbie
 
Join Date: Feb 2008
Posts: 3
tech3 is on a distinguished road
iTrader: (0)
Default

Hey, thanks for ur response, i would be adding a part two of this tutorial, where i would detail the initial design steps, and would also include XHTML/CSS coding.. Coming soon!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)   Report Post  
Old 03-02-2008, 10:22 PM
iGuides's Avatar
Administrator
 
Join Date: Sep 2007
Posts: 1,108
iGuides is on a distinguished road
iTrader: (6)
Default

That's nice tutorial, we will be anxiously waiting for the next part(s) for the same, good work!
__________________
"Enhance Online Business with iGuides Webmasters and Business Talk"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)   Report Post  
Old 03-02-2008, 10:41 PM
Newbie
 
Join Date: Nov 2007
Posts: 3
adimoga is on a distinguished road
iTrader: (0)
Default

nice tutorial, thanks for share it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)   Report Post  
Old 03-03-2008, 05:22 PM
Newbie
 
Join Date: Oct 2007
Posts: 6
van_theman is on a distinguished road
iTrader: (0)
Default

good tutorial i find it thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)   Report Post  
Old 03-08-2008, 03:47 PM
Moderator
 
Join Date: Sep 2007
Posts: 10
urlstand is on a distinguished road
iTrader: (0)
Default

This is a nice tutorial, I have posted in in Webmasters news and buzz / Published News / Tutorials and Tips
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)   Report Post  
Old 04-12-2008, 03:22 AM
Newbie
 
Join Date: Dec 2007
Posts: 45
bcdxer is on a distinguished road
iTrader: (0)
Default

very useful tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)   Report Post  
Old 05-19-2008, 04:26 AM
linkingpro's Avatar
Elite
 
Join Date: Oct 2007
Location: Lost.....
Posts: 563
linkingpro is on a distinguished road
iTrader: (5)
Default

Thats good. Let me start with slicing them first. I have 3 psds with me for waste. I can atleast learn from them I guess.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)   Report Post  
Old 06-07-2008, 06:52 AM
Newbie
 
Join Date: Jun 2008
Posts: 16
EXleader is on a distinguished road
iTrader: (0)
Default

There is a part of Photoshop called Image Ready. Open the edited .psd in Image Ready and then save it into HTML (as a web page)
__________________
Free Templates Website Development
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 08:32 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0

Ad Management by RedTyger