Well, first you have to understand that no book is going to simply make you a hacker. They can help to teach you about certain things, but you can't just read a book and be great. I'm guessing that you know this already, just based on how your post was worded.
As for books, Hacking: The Art of Exploitation
and The Web Application Hacker's Handbook
are two good ones. Most of the information that you'll need to know you can find by scouring Google and various forums, though. The idea is not to buy too many books when you can learn the same information for free through the internet. For example, you could have learned HTML and CSS at www.w3schools.com
In general, try to learn something online or through a library book before buying a book. I hope that helped.
Mens et manus.