[Mediawiki-l] Positioning a Mailto: link below an info box

Paul Coghlan pcoghlan at usa.net
Fri Mar 30 00:06:49 UTC 2007


I am trying to get the "Email someone this page" link to appear directly
below, but just outside, an info box. The info box appears on the right of
the page but the link is appearing on justified to the left.

The code for the Template:InfoBox is below. I am sure the tweak required is
minor but after spending an hour playing with it I am running out of
patience.

Oh, and thanks to those that pointed me at this email to a friend solution!

Thanks,
Paul


{| class="toccolours" style="float: right; margin-left: 1em; width: 25em;"
cellspacing="2"
| colspan="2" style="text-align: center; font-size: larger;" |
'''{{{town}}}'''
|-
|'''County'''
|style="padding-right: 1em;" | {{{county}}}
|- style="vertical-align: top;"
|'''State'''
|style="padding-right: 1em;" | {{{state}}}
|- style="vertical-align: top;"
|'''Country'''
|style="padding-right: 1em;" | {{{country}}}
|- style="vertical-align: top;""
|'''Population'''
|style="padding-right: 1em;" | {{{population}}}
|- style="vertical-align: top;""
|'''View Location'''
|style="padding-right: 1em;" | {{{coordinates}}}
|}

[mailto:?subject={{FULLPAGENAMEE}}%20in%20{{SITENAME}}&body=Check%20out%20th
e%20{{SITENAME}}%20page%20{{FULLPAGENAMEE}}%20at%20{{SERVER}}/w/index.php?ti
tle={{FULLPAGENAMEE}} {{{1|E-mail someone this page}}}]






More information about the MediaWiki-l mailing list