Ok, i'm having a problem with Internet Explorer. here's the code on my pages:
here's header.php:
and here's footer.php
here's the site: http://joehenry.frihost.net
It works fine if i forget the includes and just put all the code in one file, but with the includes, it doesn't.
it works fine in Firefox and opera, but not in IE. it moves the header image down like 20px, and the footer paint splat background up about 20px. also, if you click on a link that takes you to another part of the site, it won't recognize the style sheet until you refresh the page...i have no clue what the problem is, mostly bc i'm not a real php programmer. Ok, also, the background that repeats on the bottom of the page, is supposed to stay at the bottom of the page no matter what...below all the content. when i use the includes, it just stays positioned at the bottom of the browser window and lets text go below it and on down the page. I hope that was clear.
thanks for all your suggestions!
Joe.
| Code: |
| <?php
$title = 'Joe Henry- contact'; include('../header.php'); ?> content <?php include('../footer.php'); ?> |
here's header.php:
| Code: |
| <!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" /> <meta name="author" content="Joe Henry" /> <meta name="resource-type" content="document" /> <meta name="description" content="Joe Henry's Website. Web-building tutorials, Photoshop Tutorials, Blog, Gallery, and more!" /> <meta name="keywords" content="Joe, Joseph, Henry, Website, personal, site, tutorial, tutorials, photoshop, ps, web, building, construction, html, css, blog, gallery, movies, blog" /> <title><?php echo $title; ?></title> <link rel="stylesheet" style="text/css" href="http://joehenry.frihost.net/style.css" /> <script type="text/javascript" src="http://joehenry.frihost.net/js/prototype.js"></script> <script type="text/javascript" src="http://joehenry.frihost.net/js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="http://joehenry.frihost.net/js/lightbox.js"></script> </head><body> <div class="side"></div><div class="header"><a href="http://joehenry.frihost.net"></a></div><div class="container"><div class="content"> |
and here's footer.php
| Code: |
| </div><div class="sidepanel"><div class="menu">
<div class="menuheader">Navagation-</div><br /> <div class="menuwhole"><a href="http://joehenry.frihost.net">AbOUt</a></div> <div class="menuhalf"><a href="/blog">bLoG</a></div> <div class="menutf"><a href="/gallery">GalLeRY</a></div> <div class="menuquarter"><a href="/videos">VIdEoS</a></div> <div class="menuwhole"><a href="/tutorials">TuTOriaLS</a></div> <div><a href="/contact">cOntACt</a></div> <br /> <div class="menuheader">Blog-<br /><br /></div> <div class="menusubheader"><a href="/blog/archives">Archives</a></div> <div><a href="/blog/archives/march">March</a><br /></div> <div class="menusubheader"><a href="/blog/topics">Topics</a></div> <div><a href="/blog/topics/">My Life</a></div><br /> </div></div></div><div class="footer"><div class="footertext"> Design and Content © <a href="http://joehenry.frihost.net">Joe Henry</a><br /> Hosted by <a href="http://frihost.net" target="_blank">Frihost.net</a> </div></div> </body></html> |
here's the site: http://joehenry.frihost.net
It works fine if i forget the includes and just put all the code in one file, but with the includes, it doesn't.
it works fine in Firefox and opera, but not in IE. it moves the header image down like 20px, and the footer paint splat background up about 20px. also, if you click on a link that takes you to another part of the site, it won't recognize the style sheet until you refresh the page...i have no clue what the problem is, mostly bc i'm not a real php programmer. Ok, also, the background that repeats on the bottom of the page, is supposed to stay at the bottom of the page no matter what...below all the content. when i use the includes, it just stays positioned at the bottom of the browser window and lets text go below it and on down the page. I hope that was clear.
thanks for all your suggestions!
Joe.
