How do I make a floating shelf?

I would love to make shelves without seeing the ugly brackets sticking out from underneath it. Any ideas? Thanks.

  2 answers