Skip to content
View in the app

A better way to browse. Learn more.

Tip.It Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Web Development Question

Featured Replies

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

Hitman247m.png

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.

yourmysin.jpeg

Current Goals

80/80 Fletching

60/75 Woodcutting

97/100 Combat

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 theaters
Ard Choille says (11:41 PM):

I wouldn't dare tell you what to do m'dear

Yeah, thats the same method i use for my websites. Its actually one of the most commen ways to manage content now.

yourmysin.jpeg

Current Goals

80/80 Fletching

60/75 Woodcutting

97/100 Combat

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.

  • 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?

Hitman247m.png

You could use CSS and link that to each page.

RSN :: Wooden_Fire

 

Time Zone :: GMT

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.

yourmysin.jpeg

Current Goals

80/80 Fletching

60/75 Woodcutting

97/100 Combat

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.

IRKAa.jpg

 

 

 

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 theaters
Ard Choille says (11:41 PM):

I wouldn't dare tell you what to do m'dear

  • 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?

Hitman247m.png

try iframes if no one else suggested that already.

...

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

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

IRKAa.jpg
  • Author

yes, frames are bad 8-) does anyone have a good php guide?

Hitman247m.png

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.

yourmysin.jpeg

Current Goals

80/80 Fletching

60/75 Woodcutting

97/100 Combat

  • 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-)

Hitman247m.png

Ouch, I just got attacked by... everyone

 

 

 

So don't listen to my suggestion, it turns out iframes are :shame: :shame: :shame:

...

  • Author

Ok, I just got a PHP book, and solved my problem, thanks everyone

Hitman247m.png

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

siggievroom.gif

siggiez.gif

Thank you everybody for rising up against macroing!!!

Scrollbar styles is one of the most useless attributes of CSS :uhh:

replace mastered with "fooling IE into doing almost what you want while making invalid code for other browsers"

612d9da508.png

Mercifull.png

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

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.