Well, one issue with HTML5 and CSS3 is that not all browsers support them at the moment.
What I was talking about was not using ANY locked in format. A simple DIV that is loaded with your content from an “included” file. You can still use CSS, in it’s basic form without any type of odd coding. This has worked well for me and seems to work on all browsers so far as I know.
So, here is a short sample code that may help… When, a user clicks a button the new page is loaded with the same header, footer, side-panels and this code changes the content of the main area. Hope it helps…
[php]
// Sample CSS code to size the fake iFrame which is just a DIV
#contentframe{
width: 500px;
height: 250px;
overflow: scroll;
}
// Simple DIV that would hold data based on a variable loaded from some code
// This code could be from a posted form variable or a database lookup, most anything…
$contentpage=“pages/homepage.php”; //just a made-up page as an example… (or, homepage.html…)
<?php include($contentpage) ?>
[/php]
This “content” DIV could even be loaded dynamically using Javascript or Jquery. I have done that too with
little code. What is nice about that is that you can load a PHP page into it and it will handle database access
behind the scenes. Well, hope that starts you off… Good luck!