There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Solved: Need suggestions on the page structure


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
skyhigh007's Avatar
Senior Member with 384 posts.
 
Join Date: Jun 2004
15-Jun-2008, 11:28 PM #1
Solved: Need suggestions on the page structure
Is it a good idea to combine all the individual page contents on one page? Ex: If I have 5 individual pages: home, contact, policy, about, sitemap. and I put all the middle content infos on 1 page since each individual pages are sharing the same header and footer. If I want to display a about_us content, I would only display that content and hide the rest using div: display: block.
colinsp's Avatar
Computer Specs
Senior Member with 130 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, noob PHP
16-Jun-2008, 01:20 AM #2
It's not the normal way of doing things as far as I know. The problem with your suggested way is initial page load speeds, which should be as short as possible. Using a common CSS file to control the common header and footer information is the current best practice from all that I have read.
skyhigh007's Avatar
Senior Member with 384 posts.
 
Join Date: Jun 2004
16-Jun-2008, 05:21 PM #3
What if the initial page is regular normal page and the next page will be a combination of other pages ?
colinsp's Avatar
Computer Specs
Senior Member with 130 posts.
 
Join Date: Sep 2007
Location: Spain
Experience: Adv PC, int HTML, noob PHP
17-Jun-2008, 02:05 AM #4
Depending on the size of this page with the divs in it and its load time it may be OK. I have always found it easier to code individual pages. There was a thread a couple of days ago about using include in php to have a common footer appear on a page. You could use this for both header and footer and save them separately and just have one page for each of the rest of the content and just call the included headers and footers, this may be a better way of achieving what you want. At the end of the day you are the designer code it the way you want and put it on a test site and get a few friends to try it out for you.
JaimeL's Avatar
Junior Member with 16 posts.
 
Join Date: Jun 2008
Experience: Intermediate
17-Jun-2008, 03:40 AM #5
What's your reason for having just one page? I wouldn't advise hiding your content, Search Engines specially Google frowns upon this and might flag your site.
skyhigh007's Avatar
Senior Member with 384 posts.
 
Join Date: Jun 2004
17-Jun-2008, 09:49 AM #6
The reason I want to do this is trying to see If I can eliminate the IE Flicker problem for the background image. If I put it all in one page, then it only has to load once.
tomdkat's Avatar
Computer Specs
Distinguished Member with 3,430 posts.
 
Join Date: May 2006
Location: S.F. Bay Area, CA
Experience: Intermediate
17-Jun-2008, 03:42 PM #7
I think you could accomplish the same thing with iframes or ilayers.

Peace...
skyhigh007's Avatar
Senior Member with 384 posts.
 
Join Date: Jun 2004
17-Jun-2008, 04:12 PM #8
Thanks a lot!
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:59 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.