I'm trying to get 2 layers(.PNG's), centered, over a background image. (So that the MissionNormal.png and the Rainbow stay in position centered.)
The 2 layers need to be transparent.
I've tried it two different ways.
1- Rainbow Centered, but cut, in a table.
2- Centered but doesn't Stay in Position Because the rainbow is in the background.jpg image.
Can anyone help me figure out how to get these to stay centered and in the middle position?
Is there a way to z-index 2 background images and make them centered?
Thanks in advance,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.centerDeka {
text-align: center;
}
body {
background-image: url(images/background.png);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body class="centerDeka">
<img src="images/Mission-Normal.png" width="1024" height="768" />
</body>
</html>
Attached File(s)
-
WebSite.zip (615.42K)
Number of downloads: 55
This post has been edited by bmcc81: 27 August 2010 - 08:37 AM

New Topic/Question
Reply



MultiQuote








|