PDA

View Full Version : Google maps and divs..


gigiloumill
05-23-2013, 03:33 AM
Guys, I am trying to ad Google maps to a div and I was wondering if anyone knows how to set map on a 100% width?...I can't seem to figure it out. When I set width to 100% I get a horizontal scroll bar and I can't seem to find any information about it. Thanks

edbr
05-23-2013, 04:30 AM
did you add no scrolling

<div style="width:425px;height:350px"><iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=baki&ie=UTF8&z=12&t=m&iwloc=near&output=embed"></iframe></div>

gigiloumill
05-23-2013, 03:46 PM
Thank you E...That did it...

gigiloumill
05-23-2013, 04:07 PM
O.K. it's working perfect in Google Chrome, however, in IE and Firefox does not..Is there a code to add for these 2 browsers?..Thanks

edbr
05-24-2013, 02:46 AM
thats odd it was working in ff for me