Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Layering?

Status
Not open for further replies.

GiffordS

Programmer
May 31, 2001
194
CA
I have a really odd situation here that I will probably fail to explain correctly, but will try nonetheless. I know that at first blush this question may seem like it is in the wrong forum, but I do believe that the solution here is in the html.

I have a page that displays a google map to the right of another image. The map, and it's containing division, are 250 x 250. The map works well as does everything around it. My problem is that when the map is set to Hybrid or Sattelite, rather than a normal google map, and when the map is on the state of Florida and zoomed to a certain level, a trademark for the Florida Environmental Agency appears. Now, that, in and of itself is no problem. The google map already has a trademark at the bottom of the map so adding to that is no issue. The problem is that this trademark, a string of white text actually, appears not on the map but directly to the left of the map. The string is roughly 200px long and for whatever reason is displayed atop the image to the left of the map. I have no clue how to not display this. My understanding is that the map is always contained within it's division so this should not be spreading out side of that 250x250 box. I could understand it if the division suddenly became scrollable or something, but I have no idea how this is being displayed over other, non-related html. What's worse is that when I view the page source for the page this does not appear anywhere as either text or image. My first thought was to simply lower the z-index for the map div so that whatever is displayed as part of that div will the be underneath the rest of the page. Unfortunately, I have not used absolute positioning so the z-index is meaningless. Any thoughts on how to solve this one?
 
z-indexes work on relative positioning as well. Other than that, an element that comes after will always have a higher z-index than the one preceding it. So if you have the image floated left and the map floated left, you could switch it around and float both to right, which would mean map would come first and image second. Other than that, we would have to see the page to help you more.

___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top