I can't figure out where exactly in my css the size of my placemark name in my balloon window is being altered. The text is bold, as it should be, but it is very small. I have discovered which css file is changing it, but it's a big basic css file and when I remove it I lose a lot of basic formatting I need for the web site, but can't find the style code or line that is making the text small (smaller than the description text) and it's driving me nuts. I found a page that says you can remove the default header (feature name), which would be fine with me, I can put the name and the link I need in the description text, but while the code to remove the name may work in GE, it doesn't work in Gmaps v2 (http://ge.images.alaska.edu/workshop/advanced.htm) It's not a huge deal, I've just wasted way too much time already reading through reams of information, and none of it helping me... and I'd love to solve this!! I can include my css here, but it's 4 pages long, didn't think anyone would want to see it. Help!
I can remove one of my css files and then the test sizing in the balloon looks like most other samples I have viewed. If I view some of other sample KML whose balloon formatting is normal via this page, the placemark name gets shrunk just like mine, but I don't know what css element is doing it, I just know it's in the base.css file.
> I can remove one of my css files and then the test sizing in the balloon
> looks like most other samples I have viewed.
> If I view some of other sample KML whose balloon formatting is normal via
> this page, the placemark name gets shrunk just like mine, but I don't know
> what css element is doing it, I just know it's in the base.css file.
base.css, line 100 or thereabouts:
body {
color: #000000;
font-family: Arial,Helvetica,sans-serif;
font-size: 62.5%;
text-align: center;
}
Firebug makes it easy to find styles. It looks like you can just get
rid of that one entry; the only change is to the black bar right at
the top (and I can't find what that is to neutralise the effect).
Thanks! I saw references to firebug last week and meant to try it. I figured that would change the text on all my pages and I couldn't edit that. In retrospect I should have tested, since I think it's the only sizing in the file... Okay, so I don't need the name in the balloon twice, I need the link, but not the placemark, is there a way to suppress it if I want in Gmap2? It's a bit frustrating how different thinks look in v2, v3, GE! I appreciate your response, I have been cruising many forums and posted to other places and never got anywhere. jaime
> > I can remove one of my css files and then the test sizing in the balloon > > looks like most other samples I have viewed. > > If I view some of other sample KML whose balloon formatting is normal > via > > this page, the placemark name gets shrunk just like mine, but I don't > know > > what css element is doing it, I just know it's in the base.css file.
> Firebug makes it easy to find styles. It looks like you can just get > rid of that one entry; the only change is to the black bar right at > the top (and I can't find what that is to neutralise the effect).
> Okay, so I don't need the name in the balloon twice, I need the link, but
> not the placemark, is there a way to suppress it if I want in Gmap2?
You don't get much control over how GGeoXml renders your KML, because
most of the action takes place at Google's servers. There are
alternatives, but ...
It's not very wise to develop new projects in v2, it will stop
working.
See v3 API - native KML rendering by KmlLayer, and if you don't like
that try a client-side parser like GeoXml3