Template:Image frame: Difference between revisions

Reverting. The actual problem is additional px.
(Including a second style="width:" for the "thumbcaption" div, as for long text on firefox it makes it wider than you want)
(Reverting. The actual problem is additional px.)
Line 2:
<div {{#if: {{{width|}}} | style="width:{{{width}}}px;" |}}>
{{{content}}}
<div class="thumbcaption" {{#if: {{{width|}}} | style="width:{{{width}}}px;" |}}>
{{#if: {{{link|}}} | <div class="magnify" style="float:right"><a href="/wiki/{{{link}}}" class="internal" title="Enlarge"><img src="/skins-1.5/common/images/magnify-clip.png" width="15" height="11" alt="Enlarge" /></a></div> |}}
{{{caption}}}
Anonymous user