Solved

Google Maps problem

Posted on 2009-05-13
6
293 Views
Last Modified: 2013-11-11
Hi Experts,

We are having some trouble implementing Google Maps on our site.

The map draws fine however the footer of the map seems to be picking up a CSS style from our site (if that's even possible?)

http://www.blastbeat.tv/index.php?action=GigsCtrl/viewNFDetails&args[]=98

Appeciate if anyone can shed some light on this.

Thx,
Michael
0
Comment
Question by:moconn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 5

Expert Comment

by:Pantalaim0n
ID: 24375269
I suspect the following style in your stylesheet is responsible for the style mixup..

The labels used in google maps are also placed in spans, and the google maps are within the #rhs div...

#rhs span {
	background-color:#b20000;
	float:left;
	margin-right:auto;
	padding:6px 8px;
	color:#ffffff;
	text-transform:uppercase;
	font-size:14px;
	font-family: "Gill Sans MT", Arial, sans-serif;
	font-weight:bold;		
}

Open in new window

0
 

Author Comment

by:moconn
ID: 24375575

Thanks for coming back to us.

We've temporariily commented out the #rhs span and still have the same problem.

Any ideas?
0
 
LVL 5

Accepted Solution

by:
Pantalaim0n earned 500 total points
ID: 24375639
Your css seems to have another #rhs span defined after the one you commented out.. Try disabling that one too.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Closing Comment

by:moconn
ID: 31580983
Thanks so much!
0
 

Author Comment

by:moconn
ID: 24375877

One last question on Google Maps if you have time..

We've just added an info window but it's not displaying correctly for me.

We've followed the example at
http://code.google.com/apis/maps/documentation/introduction.html

Only problem is that we have a large white box at the base of the Info Window..
It's not absolutely necessary but it would be nice to get this 100% right.

Any help appreciated..

thanks,
Michael
0
 
LVL 5

Expert Comment

by:Pantalaim0n
ID: 24381832
I wonder if it's a Google API problem, the strange way the info box is drawn on the maps..

You could try to use openInfoWindowHtml instead of openInfoWindow, and just pass a string with HTML code as parameter.

Or, google API info box might be conflicting with the iepngfix.htc definition in your stylesheet. See what disabling this script does.. (are you using pngs with alpha channels that absolutely require this? )
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Bootstrap question 4 33
how can i break an array into a couple 5 26
Read text on Table 7 30
Change color in a check box 8 16
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses how to implement server side field validation and display customized error messages to the client.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question