stevedc
06-18-2008, 09:52 PM
Hi all,
I'm relatively new to PHP and was wondering something. If I create a header, footer or nav bar that is a div, should the div be applied in the .php include file (i.e. - footer.php) or should the div be placed in the home page or template page and just bring in the text or images. So I guess I wondering if their is a proper way to apply php to css and visa versa. It seems like it would be easiest to layout the page / divs where I want them and then place include files with information inside of their respective div. I just didn't know what standard practices are...Sorry, but most of my sites have either been css/html or flash and even something as simple as a server side include is new to me.
I'm relatively new to PHP and was wondering something. If I create a header, footer or nav bar that is a div, should the div be applied in the .php include file (i.e. - footer.php) or should the div be placed in the home page or template page and just bring in the text or images. So I guess I wondering if their is a proper way to apply php to css and visa versa. It seems like it would be easiest to layout the page / divs where I want them and then place include files with information inside of their respective div. I just didn't know what standard practices are...Sorry, but most of my sites have either been css/html or flash and even something as simple as a server side include is new to me.