Website php help

skegness

New Member
Messages
7
Reaction score
0
Points
1
Hi
Not sure if I am in the right place appologies if not.
(Been directed to this forum)
But I am using a pre made website on my free account and adding a few extra pages.
All seemed ok till i embeded the Google Map script.
Then the right hand side box
shows below the script instead of alongside the right hand side of it.
Not into building websites I am sure it is a simple problem for someone who knows how to get round the problem.

http://skegnesscaravan.x10.mx/conten...n-site-map.php

Any help would be gratefully appreciated
Richard
 

learning_brain

New Member
Messages
206
Reaction score
1
Points
0
I'm not sure what you're referring to by the "right hand side box", but you could try the following instead of the code you got from google.

HTML:
<iframe style="width:100%;" height="650" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.uk/maps/ms?msid=217163611259535631139.0004d24f93f645ea1d423&amp;msa=0&amp;ie=UTF8&amp;t=h&amp;ll=53.189005,0.347164&amp;spn=0.025444,0.012016&amp;output=embed">
</iframe><br /><small>View <a href="https://maps.google.co.uk/maps/ms?msid=217163611259535631139.0004d24f93f645ea1d423&amp;msa=0&amp;ie=UTF8&amp;t=h&amp;ll=53.189005,0.347164&amp;spn=0.025444,0.012016&amp;source=embed" style="color:#0000FF;text-align:left">Ingoldmells Caravan Sites</a> in a larger map</small>

Your default code fixes width at 600px. If that's sitting in a division that's too narrow, other fixed-width elements "floating" to the right of it will automatically go underneath.

All I've done here is made the map width 100% of the parent element it's sitting in - this should iron out and over-width problems.

The template you've used is a nice progressive design and quite complex (a bit of a mish-mash of different styles) so I can't immediately see what else could be wrong but hope this little snippet helps.
 

skegness

New Member
Messages
7
Reaction score
0
Points
1
Hi
Thanks for the help.
It turned out to be the end tag after the last embed that was missing.
By side box i meant the menu box.
Regards
Richard
 
Top