Line up a google map

  • 1
  • Question
  • Updated 9 years ago
  • Answered
Hi all
I am trying to line up a Google map on my web site
I only need to move it to the right a small amount but not knowing HTML I`m stuck

View Larger Map

Can someone help please
Many thanks
SteveC
Photo of Steve3333

Steve3333

  • 89 Posts
  • 0 Reply Likes

Posted 9 years ago

  • 1
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
<!--

Hi Steve,

You could wrap it in a div and pad the div on the left.

So it would look like this....

<div style="padding-left: 10px"><iframe src="http://maps.google.co.uk/maps?ie=UTF8..." height="350" width="425"></iframe>
<small>View Larger Map</small></div>

You can change the padding-left value to any amount you need to get it right.

Lee.

-->
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
Hi Steve,

You shouldn't be using an iFrame for something like Google Maps that you can embed straight into your site. You should use the Google Maps widget in the Yola Sidebar, or get the HTML of the widget and put it inside a styled div, as Lee suggested.

Connor
Photo of Steve3333

Steve3333

  • 89 Posts
  • 0 Reply Likes
Hi UK Duke
That worked just great as usual
Many thanks
Steve
Photo of Steve3333

Steve3333

  • 89 Posts
  • 0 Reply Likes
Hi Connor
Thanks for the reply
I`m not quite sure what you mean but what I have done seems to work for me.
Thanks again
Steve