Difference between revisions of "Template:RandomEvent"

From NeoDex
Jump to navigation Jump to search
m (minor spacing change. Hopefully this will be the last change for awhile. :))
(new version of the coding so that the template will move around article images/things floating to the left and right.)
Line 1: Line 1:
<div style= "width:804px; height:150px; margin:0 auto; position: relative;">
<div style="margin: 0 auto;width:804px;height:350px;overflow:hidden;">
<span style="position: absolute; top: 0px; left: 0px">{{{BGImage}}}</span>
<div style="width:804px; height: 150px;margin-top:0;pointer-events:none;">{{{BGImage}}}</div>
<span style="position: absolute; top: 0px; left: 0px">[[Image:Shh.png]]</span>
<div style="height: 150px;margin-top:-150px;"><div style="padding-top:50px;padding-left:250px;width:550px;height:150px;">{{{Text}}}</div></div>
<span style="position: relative; float: left;">{{{Image}}}</span>
<div style="width:804px; height: 150px;margin-top:-150px;pointer-events:none;">[[image:shh.png|link=]]</div>
<div style="position: relative; padding-top: 50px;">{{{Text}}}</div>
<div style="max-width:250px;max-height:150px;margin-top:-150px;">{{{Image}}}</div>
</div>{{br}}
</div>

Revision as of 20:33, 29 October 2014

{{{BGImage}}}
{{{Text}}}
Shh.png
{{{Image}}}