Template:Resource badge: Difference between revisions

From FamilySearch Wiki
(differentiate between horizontal and vertical float)
(add position: relative; z-index:100;)
Line 1: Line 1:
{{#switch: {{{layout|horizontal}}}
{{#switch: {{{layout|horizontal}}}
| horizontal =<div style="float:{{{float-h|right}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px; ;" >
| horizontal =<div style="position: relative; z-index:100; float:{{{float-h|right}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px; ;" >
<table cellspacing="0" style="width:{{{width-h|300}}}px; margin-bottom: 0px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};" ><tr>
<table cellspacing="0" style="width:{{{width-h|300}}}px; margin-bottom: 0px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};" ><tr>
{{#if:{{{logo|{{{3|{{{id|id}}}}}}}}}|
{{#if:{{{logo|{{{3|{{{id|id}}}}}}}}}|

Revision as of 11:08, 23 August 2011

id info
[view] [edit] [history] [purge] Documentation icon Template documentation