By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,930 Members | 1,321 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,930 IT Pros & Developers. It's quick & easy.

can't get content centered

saputello
P: 9
hello

i am dying to get this page to look right. i seem to have tried everything, but don't see why the banner, footer and content don't sit perfectly centered on the page. Everything measures 800px wide, but it looks different on firefox as opposed to safari and opera. It looks different still in IE. please help! The rest of the page isn't finished, so not to worry about the links etc!


http://www.nostramerica.com/course2.html

thank you my savior!!
Apr 1 '08 #1
Share this Question
Share on Google+
7 Replies


drhowarddrfine
Expert 5K+
P: 7,435
Remove the closing slash
<style type="text/css" />

You are trying to align your background image to the foreground container but the image is uneven.
Apr 1 '08 #2

saputello
P: 9
thank you for taking the time to reply to me! i have since fixed the bg image.

the image is 1600px wide, and i have an 800px banner so there should be an even 400px on each side of the container. somehow it's off... it's perfect on firefox, but on safari and opera it doesn't fit right.

thanks again!
Apr 1 '08 #3

Death Slaught
100+
P: 1,137
I don't have time to look at your code right now, but your page displays perfectly centered in my Opera. I don't have Safari on this computer, but I'll check it in a few minutes on my other one.

Thanks, Death
Apr 1 '08 #4

saputello
P: 9
i guess you're right about opera. i haven't seen it in ie yet but in safari it's definitely off.
Apr 2 '08 #5

Death Slaught
100+
P: 1,137
It's fine in IE as well. I checked on my Safari and the only problem I see is that your navagation is off a little. Try decreasing the width of the container by a pixel.

Thanks, Death

PS - I just noticed that it's a giant image. You could move it to the right a pixel but I'm not sure how this would affect the other browsers.
Apr 2 '08 #6

saputello
P: 9
i can't thank you enough! i struggled and struggled on that, messing with the bg image and every div other than the container!!!!!!

it can take so long just to get past such a minor problem! thanks very much man.
Apr 2 '08 #7

Death Slaught
100+
P: 1,137
No problem, it's what I'm here for.

Thanks, Death
Apr 7 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.