A div within a div is used to avoid the labels offsetting a little higher than expected when floating left or right:

  • <div style="float: {{{float|none}}}; clear: {{{float|none}}};">
  • <div style="position: relative;">


Template page may need to be reloaded once to eliminate the slight horizontal offset.


Line height style in div distorts label locations


This template is a self-reference and so is part of the Wikipedia project rather than the encyclopaedic content.

See also édit

Labelled images édit

Maps édit

Image scaling fixed édit

Please specify the width for the image itself as well. For example, if the image template width is {{{width|400}}}, then the image itself must specify the width as {{{width|400}}} too.