NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Centering Websites

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-13-2005, 11:04 PM THREAD STARTER               #1 (permalink)
Senior Member
 
def1's Avatar
Join Date: May 2005
Posts: 1,538
def1 has a spectacular aura aboutdef1 has a spectacular aura about
 



Centering Websites


I thought I posted this already but I guess not

does anyone know the html code for centering websites. Its not in tables its in seperate images so please help
def1 is offline  
Old 08-14-2005, 12:11 AM   #2 (permalink)
Senior Member
 
Porte's Avatar
Join Date: May 2005
Location: I'm right here
Posts: 3,526
Porte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud of
 



Please explain. You would center any object using <center></center> or what you are trying to do exactly?
__________________
WP Theme Developer
Your One-stop for Premium Magazine/CMS WordPress Themes
Deluxe Themes
Porte is offline  
Old 08-14-2005, 03:20 AM   #3 (permalink)
Senior Member
 
Cobalt's Avatar
Join Date: Jun 2005
Location: North Dakota
Posts: 1,378
Cobalt is a splendid one to beholdCobalt is a splendid one to beholdCobalt is a splendid one to beholdCobalt is a splendid one to beholdCobalt is a splendid one to beholdCobalt is a splendid one to beholdCobalt is a splendid one to beholdCobalt is a splendid one to behold
 



If I think I know what your talking about then you would do this. I don't know the HTML code off hand because I always do it in my editor such as Dreamweaver. But to center you "whole" website you would open up your design/page in Dreamweaver and click on the <body> tag on the status bar. After you click on it, in the properties inspector there should be a "Page Properties" button. Click on that, I believe its in the first tab it comes to, there should be a "Center" button. Click on it, click ok/apply and your site/design should be centered. If this doesn't work, try clicking off the design and looking in the properties inspector to see if the "Page Properties" button still is there. If it is, try again what I said above. Best of luck.
????: NamePros.com http://www.namepros.com/programming/115450-centering-websites.html

~God Bless~

Cobalt.
Cobalt is offline  
Old 08-14-2005, 03:24 AM   #4 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



in the HTML find:

"<body>"
and put "<center>" below it

then find "</body>"
and put "</center>" above it!

Thats what I do all the time!
PoorDoggie is offline  
Old 08-14-2005, 09:46 AM THREAD STARTER               #5 (permalink)
Senior Member
 
def1's Avatar
Join Date: May 2005
Posts: 1,538
def1 has a spectacular aura aboutdef1 has a spectacular aura about
 



I tried setting it up but since my screen is a 800 x 600 I cant really tell so if you could all help me
def1 is offline  
Old 08-14-2005, 09:49 AM   #6 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
Originally Posted by def1
I tried setting it up but since my screen is a 800 x 600 I cant really tell so if you could all help me
Post your URL so someone with a higher resolution can view it for you.
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 08-14-2005, 10:25 AM THREAD STARTER               #7 (permalink)
Senior Member
 
def1's Avatar
Join Date: May 2005
Posts: 1,538
def1 has a spectacular aura aboutdef1 has a spectacular aura about
 



lol I always forget that part www.bumrecords.net
def1 is offline  
Old 08-14-2005, 10:35 AM   #8 (permalink)
Senior Member
Join Date: Jun 2004
Location: United Kingdom
Posts: 2,691
will7 has much to be proud ofwill7 has much to be proud ofwill7 has much to be proud ofwill7 has much to be proud ofwill7 has much to be proud ofwill7 has much to be proud ofwill7 has much to be proud ofwill7 has much to be proud of
 



I'm running on 1024 x 768 and yes, it is perfectly centered on my screen
__________________
Will Narburgh | Graphic design | Twitter | Email me
will7 is offline  
Old 08-14-2005, 10:52 AM THREAD STARTER               #9 (permalink)
Senior Member
 
def1's Avatar
Join Date: May 2005
Posts: 1,538
def1 has a spectacular aura aboutdef1 has a spectacular aura about
 



thanks will
def1 is offline  
Old 08-14-2005, 10:52 AM   #10 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
1280x1024 here, and looks fine (centered).
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 08-14-2005, 10:54 AM THREAD STARTER               #11 (permalink)
Senior Member
 
def1's Avatar
Join Date: May 2005
Posts: 1,538
def1 has a spectacular aura aboutdef1 has a spectacular aura about
 



is there any white space, i had people complain about white space between images, also how does it look overall too much green? if so what background should I use since the main site is green
def1 is offline  
Old 08-14-2005, 10:59 AM   #12 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
Originally Posted by def1
is there any white space, i had people complain about white space between images, also how does it look overall too much green? if so what background should I use since the main site is green
Here's what it looks like on 1280x1024 (low res image just to show general appearance):
Attached Images
File Type: jpg bumrecords.jpg (75.8 KB, 11 views)
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 08-14-2005, 11:04 AM   #13 (permalink)
NamePros Regular
 
Jon_'s Avatar
Join Date: May 2005
Posts: 372
Jon_ is an unknown quantity at this point
 



Actually when you enter the "artists" page, the images do pull apart..
Jon_ is offline  
Old 08-14-2005, 11:07 AM THREAD STARTER               #14 (permalink)
Senior Member
 
def1's Avatar
Join Date: May 2005
Posts: 1,538
def1 has a spectacular aura aboutdef1 has a spectacular aura about
 



can you do a screen shot of it plz
def1 is offline  
Old 08-14-2005, 11:11 AM   #15 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
Originally Posted by def1
can you do a screen shot of it plz
Here:
Attached Images
File Type: jpg bumrecords2.jpg (61.0 KB, 10 views)
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 08-14-2005, 11:14 AM THREAD STARTER               #16 (permalink)
Senior Member
 
def1's Avatar
Join Date: May 2005
Posts: 1,538
def1 has a spectacular aura aboutdef1 has a spectacular aura about
 



thanks gene, does anyone know why its doing that? they're all running the same html
def1 is offline  
Old 08-14-2005, 11:31 AM   #17 (permalink)
DomainersUniversity.com
 
Gene's Avatar
Join Date: Feb 2005
Location: Oswego, NY
Posts: 4,735
Gene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond reputeGene has a reputation beyond repute
 


Member of the Month
April 2005
Ethan Allen Fund Cancer Survivorship Baby Health Cystic Fibrosis Marrow Donor Program Parkinson's Disease Child Abuse Save a Life Animal Rescue Save a Life Save a Life Animal Rescue
Originally Posted by def1
thanks gene, does anyone know why its doing that? they're all running the same html
Don't know without spending a lot of time analyzing it -- your best bet is to copy the HTML from a 'good' page and modifying it to recreate the Artists page.
__________________
.
.

Expired Domain Search -- ExpiredDomainBoss.com | Sell Domain Names -- DomainProfitsClub.com
-----------------------------------------------------------------------------------------------
Gene is offline  
Old 08-14-2005, 12:26 PM   #18 (permalink)
NamePros Regular
 
edmarriner's Avatar
Join Date: Apr 2005
Location: England :D
Posts: 834
edmarriner is a jewel in the roughedmarriner is a jewel in the roughedmarriner is a jewel in the rough
 



did the html page come from somthing like photoshop because if so if you dont slice well your tables wont fully strechable. what i would do is in photoshop (or the editor) export only the left side to html , do the same for the right and put two ables next to each other in one html page and cody and past the html from the other two files
__________________
Leeds united football club


edmarriner is offline  
Old 08-14-2005, 12:40 PM   #19 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



Originally Posted by edmarriner
did the html page come from somthing like photoshop because if so if you dont slice well your tables wont fully strechable. what i would do is in photoshop (or the editor) export only the left side to html , do the same for the right and put two ables next to each other in one html page and cody and past the html from the other two files
photoshop sucks at coding. I ususally code it myself, then I know where everything is, and how I have put it together!
PoorDoggie is offline  
Old 08-14-2005, 02:18 PM THREAD STARTER               #20 (permalink)
Senior Member
 
def1's Avatar
Join Date: May 2005
Posts: 1,538
def1 has a spectacular aura aboutdef1 has a spectacular aura about
 



Originally Posted by edmarriner
did the html page come from somthing like photoshop because if so if you dont slice well your tables wont fully strechable. what i would do is in photoshop (or the editor) export only the left side to html , do the same for the right and put two ables next to each other in one html page and cody and past the html from the other two files
it still doesnt make sense why it didnt affect the other pages
def1 is offline  
Old 08-14-2005, 06:33 PM   #21 (permalink)
NamePros Regular
Join Date: Jul 2005
Location: U.S.A.
Posts: 655
Coolprogram has a spectacular aura aboutCoolprogram has a spectacular aura about
 



Code:
<center>
Words/links
</center>
There that should do it if you want it to be centered.
Coolprogram is offline  
Old 08-14-2005, 07:12 PM THREAD STARTER               #22 (permalink)
Senior Member
 
def1's Avatar
Join Date: May 2005
Posts: 1,538
def1 has a spectacular aura aboutdef1 has a spectacular aura about
 



I tried changing the html to fix the spaces between images is everything still centered and is it fixed?

can you check the artists page also
def1 is offline  
Old 08-21-2005, 05:24 AM   #23 (permalink)
NamePros Regular
 
Zubair1's Avatar
Join Date: Mar 2005
Posts: 912
Zubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really nice
 


AIDS/HIV
is'nt the <center></center> tag like decrepted?
__________________
Live Support : Zubair11 [at] hotmail.com
Free SEO Directory! || Free Online TV || Tech Blog
Web Design & Web Development Services || Reliable Web Hosting
Zubair1 is offline  
Old 08-21-2005, 05:25 AM   #24 (permalink)
NamePros Regular
 
Zubair1's Avatar
Join Date: Mar 2005
Posts: 912
Zubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really niceZubair1 is just really nice
 


AIDS/HIV
the <center></center> tag like decrepted?
__________________
Live Support : Zubair11 [at] hotmail.com
Free SEO Directory! || Free Online TV || Tech Blog
Web Design & Web Development Services || Reliable Web Hosting
Zubair1 is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
My Websites For Sale!!! abdul4u Domains For Sale - Make Offer 9 07-21-2005 11:51 PM
Free Press releases websites. suthra Free Resources 2 04-05-2005 06:48 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 08:53 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger