Google Maps zoom control is messed up

Dónal picture Dónal · Jan 16, 2012 · Viewed 28.9k times · Source

I use the Google Maps API (v.3) to show a map with a couple of markers. I recently noticed that the control used to zoom the map is messed up (it wasn't always like this). I have no idea what the cause is.

enter image description here

Update

This post originally had a link to a page where you could view the issue, but the link is broken now, so I've removed it.

Answer

Konrad Dzwinel picture Konrad Dzwinel · Jan 16, 2012

Your CSS messed it up. Remove max-width: 100%; in line 814 and zoom controls will look fine again. To avoid such bugs use more specific selectors in your CSS.