Difference between revisions of "Template:Annotated image noframe"
Jump to navigation
Jump to search
(again) |
(again) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="position:relative; width:{{{width|{{{image-width|300}}}}}}px; height:{{{height}}}px; background-color:{{{image-bg-color|white}}};"> | <div style="position:relative; width:{{{width|{{{image-width|300}}}}}}px; height:{{{height}}}px; background-color:{{{image-bg-color|white}}};"> | ||
− | <div style="width:300px; height:40px; background:blue;"></div> | + | <div style="left:0; top:0; width:300px; height:40px; background:blue; position:absolute;"></div> |
<div style="{{{image-css|}}};left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute;"> | <div style="{{{image-css|}}};left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute;"> | ||
[[Image:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}|link={{{link|}}}]]</div> | [[Image:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}|link={{{link|}}}]]</div> |