Wednesday, 2 April 2008

CSS - Layers

<div style="background-color: Red; height: 100px; width: 100px; z-index: 1"></div>
<div style="background-color: White; height: 100px; left: 50px; position: relative; top: -50px; width: 100px; z-index: 2"></div>

Example:

No comments: