Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to float a div over Google Maps?

I have a div that displays a Google map.

How do I make another div float over the map div?

like image 595
Adham Avatar asked May 17 '11 22:05

Adham


1 Answers

Try this:

<style>    #wrapper { position: relative; }    #over_map { position: absolute; top: 10px; left: 10px; z-index: 99; } </style>  <div id="wrapper">    <div id="google_map">     </div>     <div id="over_map">     </div> </div> 
like image 62
Dan Avatar answered Sep 21 '22 18:09

Dan