You can also declare in your CSS
b { color: red; } or
b.red { color: red; }
and assign your class:
"<b class='red'...
and so on...
By changing the class name you can also change the styling - although
this is no API related question.
On Jul 10, 4:31 pm, PaulG <[email protected]> wrote:
> I like the simplicity and speed of the native InfoWindows in Gmaps3,
> and understand that it comes at a price: a scroll-bar appears
> dependent upon the map-size and so on.
>
> However, can someone just confirm my understanding:
>
> If I have some emboldened text in
>
> message : "<b>this is bold</b><br />this is not",
>
> Then there is no way to make that bold text, say, red programatically
> with JS or with CSS.
>
> The only way is to do it with in-line CSS like this;
>
> message : "<b style='color:red'>this is bold</b><br />this is not",
>
> Is that a fact of life with V3, I'd need to edit all templates with
> bold text to make a site-wide change like to change red back to black?
>
> Not a huge deal, but it might help me and others to see it spelled out.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.