"The Apple Store just replaced the entire display of my early 2009 MacBook Pro for free, and it's been out of warranty for nearly a year. I was also having the problem of the aluminum housing separating from the glass, but all the way along the bottom and partly up the sides.
I actually took a photo of professorpolymath's post above to bring with me, and it served me well - I was able to give the tech assisting me the referenced article, EM209, and he pulled it up right away. I was out of the store in 15 minutes, and got the call that my repair was complete (completely free) less than 24 hours later."
"I had that same problem with my mac book pro A1286. my screen was separated from body,
I used different kind of glue after couple of days again separated, Then i found this 3M™ Windo-Weld™ Super Fast Urethane, This is usually used to bond vehicle windscreen to body, its did my job well. first clean both parts , remove old glue . when you apply glue use a clam or similar kind
of heavy object on top until its cure, i kept 24 hours ,
its a rubbery glue can withstand heat and vibration ,http://imageshack.com/i/ng8py1j"
"this isn't a common issue with these clamshells, but I agree it usually happens from a drop.
Not sure the exact epoxy compound apple uses but we haven't found any that will properly hold it in place once its happened. Sadly, your best bet it to get a new clamshell. If there is no sign of physical damage, go to apple and speak to a manager. If they don't do it, call apple and ask for customer care.
If you have to purchase it on your own, it's pretty pricey."
DO NOT LISTEN TO MOST OF THESES GUYS!!! DO NOT USE GLUE, SUPER GLUE OR PERMANENT ADHESIVE OR PERMANENT ADHESIVE TAPE!!!
My advice to you is to fix it with an adhesive...
Start to use a heat gun and a putty knife, Pro Tech Tool kit has a spudger set which can help... A proper double sided adhesive tape such as 3M. If you glue it just tell me how are you gone deal with another problem, such as broken LCD, glass...
There are quite a lot of videos about that issue on you tube...