Problem with custom map button style

149 views
Skip to first unread message

pec76

unread,
Dec 18, 2012, 10:56:17 AM12/18/12
to google-map...@googlegroups.com
Hello,


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 !

pec76

unread,
Dec 19, 2012, 2:43:21 AM12/19/12
to google-map...@googlegroups.com
Solved by addding a class name to the map div and in the css ;-)
Reply all
Reply to author
Forward
0 new messages