I am working on customizing the look of the GMapType Buttons
(Satellite, Hybrid, etc.)

I was able to successfully create my own style to overwrite the inline
style created by the API with an external stylesheet.

See example:
http://www.facilities.upenn.edu/hidden/html/map-css.php

Where I am having trouble is altering, the style for just the selected
button. The default on the inline style is making it bold, but It
needs to have different color background and type.

See example:
http://fres.coopergraphicdesign.com/design/map2_over.gif

My question is how/where is this inline style generated, and is there
a way to alter the selected style?

--------------------------------
 Below is the overriding code used in the external CSS file:

.gmnoprint #amtc_option_0, .gmnoprint #amtc_option_1, .gmnoprint
#amtc_option_2 {
        border: none !important;
}


#amtc_option_0 div, #amtc_option_1 div, #amtc_option_2 div {
        position: absolute;
        background-color: none !important;
        text-align: center;
        width: 64px;
        height: 21px;
        cursor: pointer;
        color: #378FDC;
        border-top: none !important;
        border-right: none !important;
        border-bottom: none !important;
        border-left: none !important;
        background-image: url(../icons-map/gmap_btn_bkd.gif);
        background-repeat: no-repeat;
        padding-top: 2px;
        background-position: center;
}




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to