home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Site Design/Layout

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2276
Discussions: 200,937, Posts: 2,379,255, Members: 246,302
Old May 20th, 2002, 03:50 PM   Digg it!   #1 (permalink)
Ultimate Member
 
ChoaticWhisper's Avatar
 
Join Date: Oct 2001
Location: Alabama
Posts: 1,309
Send a message via AIM to ChoaticWhisper
Site Design/Layout

Whats the easyest way to have a good bit of content that looks good with out alot of pages?
Do I just create a basic site template using a table and using the include() just call the menu and header and whatever esle on each page? or is there a easier way? So I dont have so many pages?
I will store most of the info in a MySQL db, but still it seems like I would have alot of pages.
I mean I looked at VBLite(VBulletin Free verison) and without the admin part You can have a entire forum with like 7 pages.

Remember, Im new at php and MySQL I know alittle bit.
ChoaticWhisper is offline   Reply With Quote
Old May 21st, 2002, 04:30 PM     #2 (permalink)
Ultimate Member
 
ChoaticWhisper's Avatar
 
Join Date: Oct 2001
Location: Alabama
Posts: 1,309
Send a message via AIM to ChoaticWhisper
No One?
ChoaticWhisper is offline   Reply With Quote
Old May 21st, 2002, 06:03 PM     #3 (permalink)
Ultimate Member
 
strangerstill's Avatar
 
Join Date: Oct 2001
Posts: 1,542
I guess the best solution depends on the size & type of your site. I'm currently making my first site using php and I've found that its easiest to store the header and side menu in a php file and include() it on each page like you said.

A few tips I have are:
  • don't use tables for layout, use <DIV> tags - tables mean that the whole page has to load before it displays, with DIV tags it gan display it bit by bit
  • when include()ing the header from within your site, use something like $denest='../../' so the page can find shared resources (stylesheets, logos etc)
  • also setting $pagetitle='A page within my site' lets the header include contain the HTML head element by <TITLE><?=pagetitle?></TITLE>

anyway, this works for me, if you're using MySQL you're already way ahead of me!
strangerstill is offline   Reply With Quote
Old May 21st, 2002, 06:53 PM     #4 (permalink)
Ultimate Member
 
ChoaticWhisper's Avatar
 
Join Date: Oct 2001
Location: Alabama
Posts: 1,309
Send a message via AIM to ChoaticWhisper
I looked at the site in your "WWW", It looks really good.
I have never used the div tag before, I looked at your stylesheet and I never could figure out the positioning with css. You have any tips on learning it?(Not the ww3 site, Ive check that so many times.)
ChoaticWhisper is offline   Reply With Quote
Old May 21st, 2002, 07:21 PM     #5 (permalink)
Ultimate Member
 
strangerstill's Avatar
 
Join Date: Oct 2001
Posts: 1,542
Unfortunately, as I say on my webpage, I learnt almost all I know of HTML and CSS from the w3c sites - I'm just one of those people who feels most confident when learning from the ur-authority

Anyways, the easiest way to design a page layout is to use notepad to make a very simple page with an embedded stylesheet & just experiment! If you're creating a header/sidebar layout, you want to set position: absolute; and play around with width & height attributes. A good tip is to use em measurements on things that are text-based so it sizes properly when people change font size but to use px measurements on things that are image based.

Other than that, why not start a thread asking if people know of any good css tutorials? Finally, just look at pages you like on the web and copy their design & css stylings. Good luck!
strangerstill is offline   Reply With Quote
Old May 22nd, 2002, 01:52 AM     #6 (permalink)
Ultimate Member
 
ChoaticWhisper's Avatar
 
Join Date: Oct 2001
Location: Alabama
Posts: 1,309
Send a message via AIM to ChoaticWhisper
Well I have started already, I decided that I wont be keeping most info MySQL db because I dont have much info, Thats my problem with creating sites.
But Since I created alot of my site with tables, I kept the tables.
I have created most of it, but its pretty lame so far. Plus I need some better colors.

Im just using a simple template.php and then page.inc to do all the pages.
So far its pretty easy.
If Im online this should work

Last edited by ChoaticWhisper : May 22nd, 2002 at 01:56 AM.
ChoaticWhisper is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2908)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Wireless Televisions. (8)
California Passes Anti-Flat-HDTV Le.. (43)
Obama the Muslim (14)
Is the PSU I received dead? (11)
windows vista security holes (9)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Print spooler problem (13)
Foreign voltage (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
Recent Discussions
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)
Is the PSU I received dead? (11)
Have you switched yet? (85)
Regular Build (4)
Point and Shoot Camera Suggestions. (2)
Modern Warfare 2 freeze (13)
Wireless Televisions. (8)
wireless user (1)
World's largest Monopoly Game using G.. (332)
Ideal cheap graph card for PC-Gaming? (17)
BIOS won't read disk when I try to fl.. (0)
Install XP pro and a Vista laptop ?? (11)
Graphics Card Upgrade Question (1)
favorit (1)
solutions for virtical white lines on.. (1)
Fire in DVD (2)
Modern Warfare For the PC (33)
radeon x850xt platinum & shader 3 (3)
Wireless Router+Cable Modems and Much.. (0)
Optical Audio A-B Switch (1)
windows vista security holes (9)
The NTDVM CPU has encountered an ille.. (24)


All times are GMT -4. The time now is 01:01 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28