There are three main options to solve this problem:
1) Code it yourself,
2) Use automated tools, and
3) Hire a provider of PSD-to-HTML/CSS conversion services.
And here comes another question: Which option is the best?
In fact, there is no all-purpose choice to suit every situation. Really, people and circumstances are different.
To convert yourself or not yourself - Is that a question?
Some of my friends-designers agree with marketing guru Tom Peters: nowadays design is one of the most essential competitive differences that can set products (and websites) apart from other commoditized rivals. A designer is becoming a central figure in website success. And she/he should be completely concentrated on design because very few people can be a universal genius like Leonardo da Vinci.
Others say that web designers should know not only the color theory or graphic techniques but also PSD slicing, HTML coding, content writing,
SEO, and marketing. Only in this case designers will create something really effective in the present-day Internet.
For me every website element should be well-designed: website concept, its structure, graphics, layout, HTML/CSS markup, and content. The deeper designers know respective phases and website development operations the better, because she/he can see and control the process in whole. But it doesn't mean that designers should do all the work themselves.