Ninjakreborn Posted May 13, 2006 Share Posted May 13, 2006 [b]SOLVED-problem completely solved thanks.[/b]I have a question, if you are seeing my posts occasionally then you know that I am trying to lay my site out in Xhtml/css. I have heard of people creating.footer.phpheader.phpcontent.phpthen wiring them together with<?phpinclude(header.php)?><?phpinclude(content.php)?><phpinclude(footer.php)?>not 100% like they do it but you get the picture. Is this one of those alternatives to trying to make everything browser compatible, what is the purpose of this, I have seen this done a lot, and some times not done alot, I have seen different ways in different sites, but is this a good habit to get into, and what's the point.[b][/b] Quote Link to comment Share on other sites More sharing options...
emehrkay Posted May 13, 2006 Share Posted May 13, 2006 id say that the purpose is to easily change one file to make site-wide changes. i want to add a copyright to the footer, edit footer.php. i want to remove a link in the header - header.php etc. what is contained in those files, div's links and their properties, is what determines if you'll pass validation Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted May 13, 2006 Author Share Posted May 13, 2006 Is doing it that way going to help with a lot of the browser alignment issues as well, without me having to implement all those tons of hacks to try and get everything right in that wide array of browsers, and screen resolution. Quote Link to comment Share on other sites More sharing options...
emehrkay Posted May 13, 2006 Share Posted May 13, 2006 no. including files have nothing to do with the layout. the actual html output and css will define the layout. i say get it right in firefox then make fixes for ie. Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted May 13, 2006 Author Share Posted May 13, 2006 I know, the hack for ie, is working, but I have it off in opera, but I can't go any further on this, it's the wrong forum, thanks for all the help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.