I tried an e-book to solve that problem and it went pretty well actually. I recommend you to use Artmov's How to Convert PSD into HTML e-book guide. It is described very clearly in that e-book....