Difference between revisions of "Template:DoubleBorder"

From Popix
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<div  class="noprint" style="border:1px solid black; background-color:#ff9900;width:100px;height: 100px;position: relative;top: 10;left:80;z-index: 2">
+
<style type="text/css">
<div  class="noprint" style="background-color:#eeeeee;width:100px;height: 100px;position: relative;top: -60;left:35;z-index: 1">
+
div { border:1px solid black; }
</div></div>
+
.infront {
<noinclude>
+
background-color:#ff9900;
 +
width:100px;
 +
height: 100px;
 +
position: relative;
 +
top: 10;
 +
left:80;
 +
z-index: 2;
 +
}
 +
.behind {
 +
background-color:#eeeeee;
 +
width:100px;
 +
height: 100px;
 +
position: relative;
 +
top: -60;
 +
left:35;
 +
z-index: 1;
 +
}
 +
</style>
 +
<div class="infront">
 +
In front
 +
</div>
 +
<div class="behind">
 +
Behind
 +
</div>

Revision as of 14:32, 5 April 2013

<style type="text/css"> div { border:1px solid black; } .infront { background-color:#ff9900; width:100px; height: 100px; position: relative; top: 10; left:80; z-index: 2; } .behind { background-color:#eeeeee; width:100px; height: 100px; position: relative; top: -60; left:35; z-index: 1; } </style>

In front

Behind