Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 11-30-2011, 02:24 AM   #1
New Member
 
Join Date: Nov 2011
Posts: 1
Default Please help! I just can't center this page

http://soundcoremusic.com/USED%20GEAR/usedgear.html

I've googled so much, tried a handful of standard advice but I'm really struggling and I need a master to guide me through this

This little "center" is really holding me back and its driving me crazy lol
kurtthompson is offline   Reply With Quote


Old 11-30-2011, 03:16 AM   #2
Gold Member
 
Join Date: Feb 2011
Location: Australia
Posts: 369
Default

Your code is a mess!

All the elements are positioned absolute so of course they wont center.

Getting rid of all the inline styles will help as well.

My suggestion will be to read up on how to ACTUALLY use CSS
__________________
Jason H.
DHDdirect.com
Domains - Hosting - Design
DHDdirect is offline   Reply With Quote
Old 11-30-2011, 03:27 AM   #3
Silver Member
 
Fireproofgfx's Avatar
 
Join Date: Jul 2011
Location: WAshington
Posts: 153
Default

In Google Chrome I get a message about an external protocol request and that Chrome needs to restart. You will lose a lot of potential viewers with that type of message.

I also don't like the navigation as a whole. You are missing Doc type, and crucial Meta tags as well. Still needs a lot of work.

Last edited by Fireproofgfx; 11-30-2011 at 03:30 AM.
Fireproofgfx is offline   Reply With Quote
Old 11-30-2011, 05:41 PM   #4
New Member
 
Trevor's Avatar
 
Join Date: Nov 2011
Location: Rutherfordton, NC
Posts: 23
Default

I got that same message, huge deterrent. Regarding centering the page, put everything on the page within a table and center the content within the table. Thats not really the proper way to do it though.

May want to consider putting your CSS into a separate stylesheet.
__________________
Not Just Another Web Design Company
uniqueadvertisingsolutions.com
Trevor is offline   Reply With Quote
Old 11-30-2011, 09:10 PM   #5
Platinum Member
 
Join Date: Sep 2010
Posts: 509
Default

"Regarding centering the page, put everything on the page within a table and center the content within the table. Thats not really the proper way to do it though." lol why suggest it then?
d a v e is offline   Reply With Quote


Old 11-30-2011, 10:03 PM   #6
Diamond Member
 
Phreaddee's Avatar
 
Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,137
Default

Prob cause the rest is in such a state. Why not put it in a table.
May as well make a flash splash as well.
And drop in some animated gif too.
Alternatively you could put it in a wrapper with width and margin: 0 auto;
And then remove the abs pos on the elements.
Restructure it logically.
__________________
if (headhurts == "possibly") {
alert ("keep going!");
}
else if (headhurts == "yes") {
alert ("go to sleep");
}
else if (headhurts == "damn !@#$ mofo scripts...") {
alert ("give up and have a beer!");
}
else {
alert ("watch TV");
}
Phreaddee is offline   Reply With Quote
Old 11-30-2011, 11:07 PM   #7
New Member
 
Trevor's Avatar
 
Join Date: Nov 2011
Location: Rutherfordton, NC
Posts: 23
Default

Quote:
Originally Posted by Phreaddee View Post
Prob cause the rest is in such a state. Why not put it in a table.
May as well make a flash splash as well.
And drop in some animated gif too.
Alternatively you could put it in a wrapper with width and margin: 0 auto;
And then remove the abs pos on the elements.
Restructure it logically.
Thats what i was thinking, its not proper but nothing else is so why not, i just was trying to be nice
Maybe an animated gif that makes the logo wig wag?
__________________
Not Just Another Web Design Company
uniqueadvertisingsolutions.com
Trevor is offline   Reply With Quote
Old 12-01-2011, 12:18 PM   #8
Silver Member
 
benjamin.morgan's Avatar
 
Join Date: Aug 2011
Posts: 187
Default

Put a width on your body and put margin: auto auto;
benjamin.morgan is offline   Reply With Quote
Old 12-01-2011, 12:19 PM   #9
Silver Member
 
benjamin.morgan's Avatar
 
Join Date: Aug 2011
Posts: 187
Default

body {width:900px;margin:auto auto;} AND GET YOUR SELF A DOCTYPE PLEASE
benjamin.morgan is offline   Reply With Quote
Old 12-06-2011, 04:28 AM   #10
Bronze Member
 
Janja's Avatar
 
Join Date: Jul 2011
Location: Vista, CA
Posts: 65
Send a message via MSN to Janja Send a message via Skype™ to Janja
Default

Your wrap div tag has a closing element where it should be openend. Omit the / in
</div id="wrap"> on the top of the page.

I have had issues, where IE didn't center the page unless you give the body tag a text-align of center, you can then left-align the text in the table again.

Hope that helps.
__________________
JANJAWATSON
www.jewel-webdesign.com
Janja is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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



All times are GMT. The time now is 10:15 AM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.