I think that's only if the API CSS uses !important also. If the first declaration uses !important and the second doesn't, it will keep the first. I didn't think that the Google CSS had !important, so it should work.
That link is about how to override a CSS style element that does use ! important. If Google uses !important, you're right about this. I'm just not sure--I didn't think that they do. -Brian On Jan 29, 1:58 pm, Marcelo <[email protected]> wrote: > On Jan 29, 7:23 pm, Brian P <[email protected]> wrote: > > > > > Ah OK, so _definitely_ use an exclamation point then! That should make > > it stick. > > No, timing is essential, and if you use .css, (even with !important), > the API will override it because it loads later, so it has the last > word:http://stackoverflow.com/questions/462537/overriding-important-style-... > > That's why you have to do it with javascript, after the API has > loaded. > > -- > Marcelo -http://maps.forum.nu > -- -- 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.
