Opened 12 years ago

Closed 11 years ago

#1083 closed enhancement (fixed)

Remove margin from embeddable HTML maps

Reported by: steve@… Owned by: Tom Hughes
Priority: minor Milestone:
Component: website Version:
Keywords: Cc:


Could the embed.html file be changed to include:

body { margin: 0; }

in the style? It makes no difference when the map is embedded using an iframe (as suggested by the HTML produced by the Export tab), but at least on some browsers (for example Firefox 3) there's an unwanted margin when the map is embedded using the object tag.

Example code to demonstrate the issue:

<object style="width:425px;height:350px;border:1px solid black" codetype="text/html"

Change History (2)

comment:1 Changed 11 years ago by Tom Hughes

Component: mapnikwebsite

comment:2 Changed 11 years ago by Thomas Wood

Resolution: fixed
Status: newclosed

This was fixed in r14223

Note: See TracTickets for help on using tickets.