I have a page with a Google Maps mashup that has pushpins that are color-coded by day (Monday, Tuesday, etc.) The IFrame containing the map is dynamically sized, so it gets resi
I would use HTML like the following:
... marker descriptions in here ...
You can then style this to keep the legend in the bottom right:
div#wrapper { position: relative; }
div#legend { position: absolute; bottom: 0px; right: 0px; }
position: relative
will cause any contained elements to be positioned relative to the #wrapper
container, and position: absolute
will cause the #legend
div to be "pulled" out of the flow and sit above the map, keeping it's bottom right edge at the bottom of the #wrapper
and stretching as required to contain the marker descriptions.