July 16, 200620 yr How do you create so many seperate pages (on this site) while carrying the formatting over (ie: structure, images, nav bar)? Do you create a seperate HTML page for each page, or is there an easier way to do it. I'm asking this question because if you create a site with many HTML pages by themselves, it would be a major pain if you had to change one problem that carryed over onto each seperate page (ie: dead link in the nav bar) :| It would take forever and make expanding your site extremely hard. If someone could please help me out here, it would be great :D
July 16, 200620 yr Theres many methods of doing this actually, google "web structure" i belive thats what taught me how to do it. But i would try to avoid using frames if i was you. Current Goals80/80 Fletching60/75 Woodcutting97/100 Combat
July 16, 200620 yr It actually just depending on how you are writing the pages. If you are using basic HTML only , then yes , unfortunately you would have to make duplicates and just edit in the content that you want to appear on each specific page. But take RuneTips for instance , the whole site is written using PHP and the whole site(pretty much) is driven completely from the index.php , and the pages containing the content we want to display are included dynamically, keeping the default "structure" of the page intact. I like to fart silently but deadly in movie theatersArd Choille says (11:41 PM):I wouldn't dare tell you what to do m'dear
July 16, 200620 yr Yeah, thats the same method i use for my websites. Its actually one of the most commen ways to manage content now. Current Goals80/80 Fletching60/75 Woodcutting97/100 Combat
July 16, 200620 yr Using a base php page is one of the best ways to maintain a template. However, some programs like Dreamweaver (and I hate to say it, but Frontpage) allow you to implement "templates." These put the main banners, menus, etc into EVERY page, but they "lock" template areas so that 1. You can't accidently change any of the template area. and 2. It will ALL be updated when you update the template. The template lets you lay out your page and then specify editable areas which will hold the differences from page to page. Then you can simply update the template, and all of its child pages get updated. But if you have the time and ability to study php, you'll be better off. You're usually best to combine it with a simple database to store the location of different content.
July 16, 200620 yr Author I'll look into the PHP, thanks a lot :P Does anyone have a guide that they can recommend for learning how to do that in PHP? :D Also; I get 100 megs per MySQL database, is that enough?
July 16, 200620 yr Css works just as good as html in most cases. And in my opnion it gives you more flexibility in your webpages as well as better organization. Current Goals80/80 Fletching60/75 Woodcutting97/100 Combat
July 16, 200620 yr Css works just as good as html in most cases. And in my opnion it gives you more flexibility in your webpages as well as better organization. True, but you can't use it to create dynamic content any more than you can with HTML.
July 16, 200620 yr Also; I get 100 megs per MySQL database, is that enough? For a starter site , that is WAY more then enough. I like to fart silently but deadly in movie theatersArd Choille says (11:41 PM):I wouldn't dare tell you what to do m'dear
July 17, 200620 yr Author Also; I get 100 megs per MySQL database, is that enough? For a starter site , that is WAY more then enough. I get 25 100mb databases, lol Do you have a guide or something that you can reccomend for a beginnner?
July 17, 200620 yr try iframes if no one else suggested that already.As much as I like you, say that again and I'll have to cut off your hands. iframes = teh devil (along with frames, in-line styles and such bad html practices) :P
July 17, 200620 yr try iframes if no one else suggested that already.As much as I like you, say that again and I'll have to cut off your hands. iframes = teh devil (along with frames, in-line styles and such bad html practices) :P I second that - Don't use iFrames, or you will be publically flogged by all the "cool" web-developers. ;P
July 17, 200620 yr Buy a book about php. You can get some decent ones for less then 20$ which will help you alot more then tutorials will. But before you start learning PHP make sure you have a good understanding of Html, and how variables work. Knowledge of any other languages will help to actually. Current Goals80/80 Fletching60/75 Woodcutting97/100 Combat
July 17, 200620 yr Author My specialty is HTML/XHTML and CSS, I also used turing, which looks somewhat like PHP, with all the variables and arrays and junk 8-)
July 18, 200620 yr Ouch, I just got attacked by... everyone So don't listen to my suggestion, it turns out iframes are :shame: :shame: :shame: ...
July 23, 200620 yr Dude whoev said css, do u know wat css is? Its for setting the style for specific items on the page, such as changing the scrollbar, heres my fav one. I just typed it out yesterday :D BODY { scrollbar-face-color : #000000; scrollbar-highlight-color : #32CD32; scrollbar-3dlight-color : #FF0000; scrollbar-darkshadow-color : #008000; scrollbar-arrow-color : #FFFFFF; scrollbar-shadow-color : #00FF00; scrollbar-track-color: #FFFFFF; } ~The superdumb kid who learned and mastered html 4.01 and css in 2 days Thank you everybody for rising up against macroing!!!
July 24, 200619 yr replace mastered with "fooling IE into doing almost what you want while making invalid code for other browsers" Mercifull <3 Suzi "We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12
Create an account or sign in to comment