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-03-2008, 05:56 PM
Newbie
 
Join Date: Feb 2008
Posts: 3
tech3 is on a distinguished road
iTrader: (0)
Default Converting PSD to HTML part 2

Hi, I m back with the second version of the tutorial I posted yesterday. If you have missed it, here is the link for it.

Converting PSD to HTML

Now, in this tutorial, we would be dealing with the slicing and initial PSD handling in detail because it is the most important part for the design of the final web page. After that, we would be discussing the XHTML programming, and how this conversion can be implemented in XHTML.

HANDLING THE PSD

The PSD was initially loaded into Photoshop as shown below.



Now, we are supposed to first slice the PSD and then store these slices individually into a folder, which would then be handled by our XHTML code.

For Slicing, after selecting the Slice tool as shown in the previous tutorial, we decide the areas which would be sliced from the PSD. A slice is basically a division of Source into functional parts. In this case, we can slice out the Home, Contact Us etc icons because they would be used as links in our web-page as shown below.



For making these individual slices, cut them using the slice tool by clicking and dragging around the area which you would like to cut. Now, right click and select Edit Slice Options and give it a name. For example, the Home icon has been cut below, and been given a name using the above procedure.



Now comes another important step, that of saving these individual slices into a folder. For that, we use the option of File> Save for Web or Devices. On clicking this option, a dialog box, as shown in last tutorial, appears. Select images(.gif) format, and settings to be XHTML ( the default being HTML 4.01), and all user slices. Browse to a location in your PC, and save the file. This would produce all the individual slices as images which can be used in our HTML/XHTML code.

XHTML

The basic code, which would be used in rendering this sliced PSD, and inserting images is shown below. The below code inserts the Home image into the web page.



The CSS code



I hope its clear now, and you can move forward to slicing and dicing your PSD to functional interfaces now. Cheers!

By iGuides' Tutorial Writer: Jitesh Banga

Source: iGuides.org Webmasters Talk

Last edited by tech3 : 03-03-2008 at 06:15 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-03-2008, 06:24 PM
smub's Avatar
Newbie
 
Join Date: Jan 2008
Location: balkhis.com
Posts: 43
smub is on a distinguished road
iTrader: (0)
Default

it doesn't seem clear to me because i can't scroll your css codes and if i was to be a beginner i wouldn't know what you did with the rest of the css file, so i would be lost.

perhaps posting a text file would be nice.
__________________
Balkhis - Vision for Success
Word Scrawl - Let the words speak
Uzzz Productions - New era for innovation
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)   Report Post  
Old 03-18-2008, 11:44 AM
iGuides's Avatar
Administrator
 
Join Date: Sep 2007
Posts: 1,137
iGuides is on a distinguished road
iTrader: (6)
Default

That's nice effort, effective guide for beginners.
__________________
"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
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 04:05 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