|
C:\Documents and Settings\Olly\Desktop\Advanced HTML\examples\transparency2.html
|
<html>
<head>
<title>Transparency Test</title>
<style type="text/css">
body {
background: url(sitelayout/background.gif);
}
.myLayer {
width: 400;
height: 286px;
position: absolute;
left: 100px;
top: 100px;
padding: 70px;
padding-left: 20px;
background: green;
background: url(sitelayout/shape.gif) no-repeat;
text-align: center;
}
</style>
</head>
<body>
<h2>Transparency Test</h2>
<div class="myLayer">
Test Layer.
</div>
</body>
</html>