Hello Folks. First, i must admit how helpful you have been since i signed up here. Thank you all.
Im following a PHP course and this is the code of the stylesheet
[CODE] /*SITE COLORS :
#1A446C – Blue grey
#689DC1 – Light blue
#D4E6F4 – Very light blue
#EEE4B9 – Light tan
#8D0D19 – Burgundy
*/
html { height: 100%; width: 100%; }
body { height: 100%; width: 100%; margin: 0; padding: 0; border: 0; background: #FFFFFF;
font: 13px/15px Verdana, Arial, Helvetica, sans-serif; }
img { border: none;}
table, tr, td { border-collapse: collapse; vertical-align: top;
text-align: left;
font: 13px/15px Verdana, Arial, Helvetica, sans-serif; }
a {color: #8D0D19;}
#header{ height: 70px; text-align: left; background: #1A446C; color: #D4E6F4; }
#header h1 { padding: 1em; margin: 0; }
/*Note: IE 5 & 6 won’t understand min-height */
#main {min-height: 600px; width: 100%; background: #EEE489; padding: 2em; }
#footer { height: 2em; padding: 1cm; text-align: center;
background: #1A446C; color: #D4E6F4; }
table.bordered tr th, table.bordered tr td { border: 1px solid #000000;}
Now the page is supposed to turn out like this
[ATTACH]16559[/ATTACH]
But instead here is the Top due to error
[ATTACH]16557[/ATTACH]
And the bottom due to error. The MENU is here i
[ATTACH]16555[/ATTACH]
The MENU, is supposed to be up and not at the bottom.
Please help me, im not too proficient in CSS
And here are the header and footer codes. I hope they help too
Header
[code=html] <!DOCTYPE html>
<html lang=”en”>
<head>
<title>Zoomie Gallery: Admin</title>
<link href=”../stylesheets/main.css” media=”all” rel=”stylesheet” type=”text/css”/>
</head>
<body>
<div id=”header”>
<h1>Your Zoomie Gallery: Admin</h1>
</div>
<div id=”main”>
</div>
</body>
</html>
Footer
[code=html] </div>
<div id=”footer”>Copyright <?php echo date(“Y”, time());?>, Timothy Emmanson. Nailancer</div>
</body>
</html>
<?php if(isset($database)) {$database->close_connection();} //If the database connection is there, then close it?>
Thank you very much.
[canned-message]attachments-removed-during-migration