Difference between revisions of "Template:Image label begin/doc"
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 | + | * <tt><nowiki><div style="position: relative;"></nowiki></tt> |
Revision as of 14:34, 1 November 2006
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
- {{Image label begin|image=Example.png|width=400|float=right}}
- {{Image label|x=0.25|y=0.75|scale=400|text=[[Wikipedia]]}}
- {{Image label small|x=0.25|y=0.75|scale=400|text=[[Wikipedia]]}}
- {{Image label end}}
Labelled images
- {{Africa Labelled Map}}
- {{Australia Labelled Map}}
- {{Caribbean Labelled Map}}
- {{Caucasus Labelled Map}}
- {{Chile Labelled Map}}
- {{Earth Labelled Map}}
- {{England Labelled Map}}
- {{Europe Labelled Map}}
- {{France Regions Labelled Map}}
- {{Singapore Urban Planning Areas Labelled Map}}
- {{South America Labelled Map}}
- {{Switzerland Cantons Labelled Map}}
- {{Sydney Urban Areas Labelled Map}}
- {{Peru Labelled Map}}
- {{United States Labelled Map}}
- {{:Defense of Sihang Warehouse/Map}}