Template: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[编辑]