跳转到内容

Template:Image label end/doc

维基百科,自由的百科全书

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