Template:Resource badge: Difference between revisions
(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 |
---|
The above documentation is transcluded from Template:Resource badge/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |