Hi everyone
I have a page constructed with divs that line up properly when empty. Then when I use PHP to load an external page within a div (for use of updating multiple pages at once such as navigation), when previewed in a browser the divs overlap with the last one being on top.
This is the page currently unsolved.
http://www.gdm-sia.com/newGDM/index.php
And this is how I want it looking. The red illustrating the PHP loaded divs.
Now I am using Dreamweaver to preview the site while I work on it and I figured after reading the coding that maybe its a CSS poroblem. Nothing is jumping out at me.
CSS
BODYCode:body,td,th { font-size:62.5%%; font-family: Tahoma, Geneva, sans-serif; color: #c0c0c0; } html>body {font-size:10px} body { background-color: #000; margin: 0px 20px 0px 20px; } a:link { color: #09F; } a:hover { color: #CFF; } h1 { font-size: 2em; color: #09F; } h2 { font-size: 1.5em; color: #09F; } h3 { font-size: 1.25em; color: #09F; } h4 { font-size: 1em; color: #09F; } #site { width:975px; height:1000px; z-index:1; visibility: visible; margin: auto; position: relative; } #nestLinks{ width:970px; height:20px; z-index:2; background-color: #242424; margin-top: 10px; } #header{ width:975px; height:208px; z-index:3; min-height: 208px; top: auto; } #navigation { width:975px; z-index:4; height: 60px; min-height: 60px; } #content { width:975px; height:500px; z-index:5; min-height: 500px; } #footer { width:975px; height:150px; z-index:6; min-height: 150px; top: 500px; }
Thank you for any help.Code:<div id="site"> <div id="nestLinks" style="color:#FFF; padding-top: 10px; padding-left: 5px; min-height: 20px;">home</div> <div id="header"> <?php include $_SERVER['DOCUMENT_ROOT'] . '/newGDM/banner.php'; ?> </div> <div id="navigation"><?php include $_SERVER['DOCUMENT_ROOT'] . '/newGDM/navigation.php'; ?></div> <div id="content"></div> <div id="footer"><?php include $_SERVER['DOCUMENT_ROOT'] . '/newGDM/footer.php'; ?></div> </div>





Reply With Quote
.

Bookmarks