I think i had a similar kind of problem as you described here. I used
a layer as a container for the other layers that had the content in them.
Then i just centered the container and used absolute positionings on the
inner layers. The simplified code might look something like this:
<html>
<head>
<title>your site</title>
<style type="text/css">
body {
background-image: url("your_pic.jpg");
background-attachment: scroll;
background-position: center top;
}
</style>
</head>
<body>
<div id="container" style="margin:auto;position:relative;">
<div id="your layers" style="position:absolute">
<!-- content -->
</div>
<div id="your layers" style="position:absolute">
<!-- content -->
</div>
<div id="your layers" style="position:absolute">
<!-- content -->
</div>
</div>
</body>
</html>
This doesn't however remove problems with vertical centering. For that I
have no advise at this point...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php