This way does it with links intact. That is www.oldsite.com/some/crazy/link.html will become www.newsite.com/some/crazy/link.html. This is extremely helpful when you are just "moving" a site to a new domain. Place this on the OLD site:
Redirect 301 / http://newsite.com/
*May or may not contain any actual "CSS" or "Tricks".