I have been using Photoshop to design and (basic framework) code my websites. The easiest way I have found to display pages is to use an iframe, but this is not optimal for many reasons (that I am sure I do not have to explain).
I tried searching for a better way but I feel like my lack of results is because I am not using the right search terms. I downloaded some free templates in hopes of taking apart the code and learning there but they all seems to be set up in such a way that if I make a change in the navigation bar on one page, I have to open up every other page and change the code the same way (wheras when using iframes this does not need to be done because the main page always stays the same).
So I guess my question is what is the best way to display content?
what exactly are you trying to do? i.e. create a website where you can edit the navigation once and it changes across the site without messing anything else up and so forth?
yea, most pre-made templates are not for the faint of heart, i prefer to code from scratch so i know where everything is and what exactly everything does.
"Problems cannot be solved by the same level of thinking that created them.”
Be aware that if you use .PHP doc extension, you cannot test your code by opening it with your browser. You need to either:
1. Test on line (not recommended).
2. Set up a local host and test using that (recommended).
I use WAMP. It is free, simple to set up and use, and will work across a local network if required. However, that said, PHP adds a layer of complexity over HTML/CSS. I'd seriously suggest that you learn HTML/CSS first before you consider using PHP. I've been coding web sites for four years and am just starting out on PHP. Any menu changes I still have to propagate across all the web pages by hand! PHP include files are (probably) my next project.
Bookmarks