Solved by addding a class name to the map div and in the css ;-)

Le mardi 18 décembre 2012 16:56:17 UTC+1, pec76 a écrit :
>
> Hello,
>
> Based on this example : 
> http://gmaps-samples-v3.googlecode.com/svn/trunk/controls/index.html
>
> I have created a custom button. 
>
> But the hard coded style : 
>
> .button, .button-selected, .dropdown { 
>    cursor: pointer; 
>    -webkit-user-select: none; 
>    -moz-user-select: none; 
>    *text-align: center;*
>  ...
>
> created to apply the styles to the button is breaking my template, because 
> some parts of my template uses the same class name "dropdown".
>
> Is there a way to limit the above style only to the buttons ? I think the 
> problem is that the styles inherits from the google maps.
>
> Please, help !
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/SMTKUmXzXWsJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to