This is a discussion on "Photoshop to CSS" within the Web Page Design section. This forum, and the thread "Photoshop to CSS are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Photoshop to CSS
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Photoshop to CSS
Hi, after learning html, and some CSS I finally made a Layout on Photoshop for my very first website, I Guess you've been asked thousand times about this, but now I need to slice this and get it into a 2 colums fixed layout, But I don't know how to start, I still can't find a decent tutorial about slicing, Any help is really apreciated.
Here is my layout: http://i92.photobucket.com/albums/l1...lackLayout.jpg |
|
|
|
||||
|
Re: Photoshop to CSS
A bit rough but ... something like this
BlackLayout-cuts.jpg I just did 2 of the menu items but ... you get the picture |
|
|||
|
Re: Photoshop to CSS
I see ,so I only need to use those images as backgrounds, great. I'll try to do it like this. Thank you.
|
|
||||
|
Re: Photoshop to CSS
Yes ... most of them.
Good luck! |
|
||||
|
Re: Photoshop to CSS
It might be worth having a look here http://www.sitepoint.com/article/des...site-photoshop
|
|
||||
|
Re: Photoshop to CSS
Oh No!!! Please don't follow that! It's dated 2002 and it wants you to use the slice tool in PS which creates HTML with tables
Like I said in my first reply, DON'T USE THE SLICE TOOL IN PS! |
|
|||
|
Re: Photoshop to CSS
Ok, thanks.
|
|
|||
|
Re: Photoshop to CSS
A quick question : Can I stablish how many times do I want an image to repeat?
In the main column as an example, it has a little header, and the little footer are diferent than the center, how would I set all in the same div?O_o I would want the center to repeat vertically, but not the header and the footer. Last edited by Hellcaster; Sep 26th, 2007 at 19:20. |
|
||||
|
Re: Photoshop to CSS
I'm not quite certain I have understood your question, but if you want the background image on a div to repeat, use:
Jack
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
|
|
|||
|
Re: Photoshop to CSS
Yes, I know how to do that, thank you
http://i92.photobucket.com/albums/l1...ackLayout2.jpg It has 3 sections and If i follow as karinne told me the center needs to be repeated a certain amount of times, but no the first or the third section. I hope I explained myself::P |
|
||||
|
Re: Photoshop to CSS
The middle section should only be a very small image in height ... like 5 pixels or something. You don't need that big image. Just apply the repeat-y to the main div and you should be all set.
|
|
|||
|
Re: Photoshop to CSS
Yes I see, I've got another question: when i try to set a background image the code should look like this as I've seen on many sites:
Last edited by karinne; Sep 26th, 2007 at 21:56. Reason: Changed the brackets for the vBcode to work ;) |
|
||||
|
Re: Photoshop to CSS
say you webfiles are in c:\web\
as long as the html page and the image page are in that folder it will work, like: c:\web\index.html c:\web\img.jpeg
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: Photoshop to CSS
Cool It works now, thank you very much guys.^^
|
|
||||
|
Re: Photoshop to CSS
Why do not use the slice tool in photoshop ?!!
Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
|
|
||||
|
Re: Photoshop to CSS
Well ... the slice tool in Photoshop create you HTML document for you but it's just as bad as using the WYSIWYG editor in Front Page
It creates VERY un-semantic code using tables for layout and WAY too many images. |
|
||||
|
Re: Photoshop to CSS
I think it depends on user that how use the slice tool to control how many images outputted .
I think in most way it is useful tool, specially layer based slice tool.
Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
|
|
||||
|
Re: Photoshop to CSS
Probably ... but in my experience not many images from the mock-up are needed so it's best to just code the HTML and CSS to try and get most of the layout and colors properly. Then, just get what you absolutely need from PS.
|
|
|||
|
Re: Photoshop to CSS
Hi, I know it's been a while, but I finally finished my very first CSS layout
http://www.freewebs.com/iamgio/ I will be playing with CSS a little more and experimenting with my page. Once again thank you all for the help |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Photoshop | allstar | Graphics and 3D | 7 | Jul 7th, 2008 09:11 |
| Photoshop CS2 or CS3? | Hunterlaar | Graphics and 3D | 9 | Sep 21st, 2007 02:22 |
| Photoshop help | crg1 | Graphics and 3D | 5 | Jul 16th, 2007 07:33 |
| Help with Photoshop CS2 | howey1702 | Graphics and 3D | 8 | Jan 19th, 2007 17:57 |
| Photoshop help! | M4dSc1ent1st | Graphics and 3D | 1 | May 16th, 2005 15:20 |