+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: How to convert your photoshop document to a CSS in less than 30 seconds

  1. #1
    clookid's Avatar
    clookid is offline Programmer
    Join Date
    Jan 2007
    Posts
    125
    Rep Power
    0

    How to convert your photoshop document to a CSS in less than 30 seconds

    As a webdesigner you’re working a lot with photoshop and now you would like to convert your psd (or jpg, png, whatever photoshop can read) files to a valid CSS and (X)HTML document.

    Do you know that you can do it using photoshop and image ready and that it will take about 30 seconds ? If you want to know how do it everything is explained step by step with proper screen captures just in case


    1-open your file with photoshop




    2-Edit the document with Image ready




    3-Slice your document using the “Slice” tool, this will allow you to define all the different parts of your web page (for example, the header, the menu etc.)




    4-Now your document should contain blue numeroted squares and lines




    5-Now you need to specify in image ready the ouput parameters.




    6-Now you choose the CSS export (inside the File->Outputsettings menu)




    7-Now you have defined your output options you just have to click on OK. (this will validate your settings but won’t create the file yet).


    8-This is the last step, you need to save the result, using “Save optimized” (inside the File menu).




    And now the work is finished,imageready has just created an “images” folder containing all the sliced images and an html file which is containing in the source code the css code.

    If you wanna see/copy/edit the css source code you just need to open the file in your favorite web browser and display the source code.



    -Extract of the css code generated by photoshop/imageready:



    Everything is ok now you have your css and XHTML file. Of course you might need to edit it by hand to modify and or tweak some part of it.

    NOTE: This tutorial was not written by me but permission has been granted for me to use it to earn myself some more points.
    Last edited by Jordan; 01-10-2007 at 12:17 PM.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    xtraze is offline Programming God
    Join Date
    Dec 2006
    Location
    Sri lanka
    Posts
    911
    Rep Power
    0
    Nice man, And a valid CSS too with absolute positioning. lol
    I thought I need to buy another software for this job but this is better, Especially the slicing thing system, as if I didn't Everything will be one BIG picture. And the CSS source will be shorter.

    Maybe I will make a layout by Photoshop without text ( maybe a little of ) with menus,ect And use some CSS stuff to Edit it as I want it. cool.

    Nice tutorial coolkid

  4. #3
    clookid's Avatar
    clookid is offline Programmer
    Join Date
    Jan 2007
    Posts
    125
    Rep Power
    0
    It is cloo-kid!!! Lol... Everyone gets the name wrong....

  5. #4
    xtraze is offline Programming God
    Join Date
    Dec 2006
    Location
    Sri lanka
    Posts
    911
    Rep Power
    0
    Why not change it to Coolkid, it sounds Better, lol.
    As we were talking about HTML, Here's another thing.

    When you create a webpage, test it with at least three different kinds of web Browsers before publishing especially if you use any WYSIWYG you must check.
    As for some functions, different browsers understand in different ways or some ignore some codes.

    IE ignores the <embed ...
    NN ignores the <include ...

  6. #5
    -MW- is offline Programmer
    Join Date
    Dec 2006
    Posts
    146
    Rep Power
    0
    Nice! Thanks , i need it now is easy to do with the tut

  7. #6
    AfTriX is offline Programming God
    Join Date
    Jan 2007
    Location
    Chicago
    Posts
    586
    Rep Power
    0
    Good one, Thanks!

  8. #7
    shreesha's Avatar
    shreesha is offline Newbie
    Join Date
    Jan 2007
    Posts
    18
    Rep Power
    0
    hey good one. thx. its a nice tutorial.

  9. #8
    blag is offline Newbie
    Join Date
    Jul 2007
    Posts
    3
    Rep Power
    0
    cheers for that have no idea bout that one !

  10. #9
    kisna is offline Learning Programmer
    Join Date
    Jul 2007
    Posts
    76
    Rep Power
    0
    Wow, Wonderful.
    I dint know that photoshop can do this. Thank you very much for the tutorial.

  11. #10
    PlayaSkater's Avatar
    PlayaSkater is offline Learning Programmer
    Join Date
    Aug 2007
    Location
    Cruzer, US
    Posts
    64
    Rep Power
    0
    I have CS3 and it doesn't have ImageReady. What should I do??

+ Reply to Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 08-10-2011, 11:18 AM
  2. Script That Gets Information Every 10 Seconds ...
    By RhetoricalRuvim in forum AJAX
    Replies: 15
    Last Post: 08-02-2011, 03:43 AM
  3. How to convert an html document into am msword document?
    By greenerworld in forum HTML Programming
    Replies: 1
    Last Post: 11-23-2009, 03:25 AM
  4. saving to database after few seconds
    By iory in forum PHP Development
    Replies: 4
    Last Post: 10-23-2008, 07:55 AM
  5. mp3 - just first seconds
    By DaQuark in forum General Programming
    Replies: 2
    Last Post: 11-03-2007, 04:24 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts