I use macromedia fireworks (others use photoshop) and I design my website to the pixel within this. I can then copy the images (all correctly sized) straight into my website.
Personally, I find it is easier to get measurements correct in fireworks before I start coding rather than spending hours tweaking, correcting code, correcting images, tweaking, correcting code, correcting images etc.