模板:Image label end

出自維基導遊
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

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[編輯]