Difference between revisions of "Template:Image label begin/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zondor
(→‎See also: Template:Image label small)
blackwiki>Zondor
(update: <div style="position: relative;">)
Line 4: Line 4:
 
A div within a div is used to avoid the labels offsetting a little higher than expected when floating left or right:
 
A div within a div is used to avoid the labels offsetting a little higher than expected when floating left or right:
 
* <tt><nowiki><div style="float: {{{float|none}}}; clear: {{{float|none}}};"></nowiki></tt>
 
* <tt><nowiki><div style="float: {{{float|none}}}; clear: {{{float|none}}};"></nowiki></tt>
* <tt><nowiki><div style="position: relative; font-size: 7pt;"></nowiki></tt>
+
* <tt><nowiki><div style="position: relative;"></nowiki></tt>
  
  

Revision as of 14:34, 1 November 2006

Labelled
Image
Editor

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