Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 12-11-2003, 04:35 PM   #1
Member (10 bit)
 
Join Date: Apr 2003
Location: Jacksonville Beach, FL
Posts: 879
website help

I'm designing a website for my wedding where people can go to get information. I have the basic layout done, but it isn't centered unless your resolution is at 1024x768. I know a little HTML and used tables to put everything together. I've been using Word 97 as a wysiwyg editor (yech).

My question, is: is there an easy way to make sure it is centered for any resolution?

here is the link:
http://home.comcast.net/~andrewandcorrie

you can check the source there to see the HTML... I'm open to suggestions and comments.
yellohut is offline   Reply With Quote
Old 12-11-2003, 04:57 PM   #2
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Pretty easy to do. If you open the page in notepad, and add the following
existing
PHP Code:
<TABLE CELLSPACING=0 BORDER=0 CELLPADDING=7 WIDTH=952 HSPACE=12
change to:
PHP Code:
<TABLE CELLSPACING=0 BORDER=0 CELLPADDING=7 WIDTH=952 ALIGN="CENTER" HSPACE=12
Adding the Align=center.
And then save it making sure that you save it as a html file rather than a text file.

If you still can't figure it out, send me a PM and I can edit it for you.

Last edited by mairving; 12-11-2003 at 05:02 PM.
mairving is offline   Reply With Quote
Old 12-11-2003, 07:40 PM   #3
Member (10 bit)
 
Join Date: Apr 2003
Location: Jacksonville Beach, FL
Posts: 879
I changed the HTML as you suggested, so it reads exactly the same, but still no luck.

Any other ideas?
yellohut is offline   Reply With Quote
Old 12-11-2003, 08:19 PM   #4
Member (10 bit)
 
Join Date: Apr 2003
Location: Jacksonville Beach, FL
Posts: 879
and since i'm here, anyone know how i can add a hit counter to my site for free (is there some kind of code, or is it a bot that i have to download?)
yellohut is offline   Reply With Quote
Old 12-11-2003, 09:09 PM   #5
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Yeah, sorry I didn't have any time to test it before I posted. Change the table to this:
PHP Code:
<TABLE CELLSPACING=0 BORDER=0 CELLPADDING=7 WIDTH="100%" ALIGN="CENTER" HSPACE=12
Changing the width to 100%. The table was centered before but since it was only at 952pixels, it would only show being centered at 952px resolution.
mairving is offline   Reply With Quote
Old 12-11-2003, 09:14 PM   #6
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
As far as the hit counter goes, do you know what your host supports CGI or PHP. Here are some CGI counters and PHP counters.

You might even add a countdown timer to the wedding date also.

Here is a site that my nephew and I did for my niece last year. May give you some ideas.
mairving is offline   Reply With Quote
Old 12-12-2003, 11:26 AM   #7
Member (10 bit)
 
Join Date: Apr 2003
Location: Jacksonville Beach, FL
Posts: 879
I haven't had a chance to try those changes you suggest.. but I like the website you designed, did you use HTML or PHP..
and do you know of a place online where I can learn PHP?
yellohut is offline   Reply With Quote
Old 12-12-2003, 12:44 PM   #8
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
There are plenty of places to learn PHP online.
Here are some links;
http://www.php.net
http://devshed.com/
http://www.zend.com/
http://phpbuilder.com/
and plenty of good books on it also.

The website was done using HTML, PHP and MySQL. My nephew did most of the design on it, I did the programming. I added a guestbook that will randomly show one of the guestbook entries on the home page. It also had a countdown timer on it that I have taken off since they got married back in January 2003.
mairving is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:12 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2