文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

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

Labelled images

Wikiwand in your browser!

Seamless Wikipedia browsing. On steroids.

Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.

Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.