chris77 — 2012-09-16T16:16:18-04:00 — #1
I was in an Apple store visiting mywebsite on Safari On a 27" monitor and my site came up fine. Ten minutes before I was in BestBuy on Safari On a 27" monitor and my site came up hyperstretched so each paragraph was only 2 lines vertically. I guess the difference was versions of Safari. How do I fix this.
For <Body> I have
Is there max width controll in CSS?
ronpat — 2012-09-16T18:42:21-04:00 — #2
Chris, please post a link to your site and ideally screenshots of the hyperstretched and normal views so we know what we're looking for.
Did you happen to note the versions of Safari being used on the demo systems?
chris77 — 2012-09-16T20:15:16-04:00 — #3
I can't get you the screen shot of the hyperstretched rendering, I saw it in a store. I don't know what version(s) of Safari I was on. I might have to go back, although I got a feeling both were on the same version.the version in the stare . The subject of my site has nothing to do with programming, so how do I post a link without google finding it?
ronpat — 2012-09-16T20:25:25-04:00 — #4
www dot mysite anotherdot com (or some such scheme)
We can work with that as long as a login and password are not required.
ralphm — 2012-09-16T20:29:54-04:00 — #5
Google ignores links in this forum anyway, as they are all no-follow. So there's no danger from an SEO point of view posting it here. (Not that I think there's be an issue even if the links were do-follow. Linking is not a sin! It's the nature of the web. It's just doing lots of if for no good reason that could be a problem.)
chris77 — 2012-09-16T22:04:54-04:00 — #6
Ok the site is actualcures.com.
ralphm — 2012-09-16T22:23:37-04:00 — #7
Yes indeed. You can do something like this:
margin: 0 auto;
If you remove float: left; from #content and use the code above instead, the content will center on the screen but not grow wider than 1240px; (You can choose any width, of course.)
chris77 — 2012-09-17T11:21:20-04:00 — #8
What would I do about the margin-top:30px I have in there.
I think that controls the distance between the header image and the content.
I was thinking maybe
margin:30px auto 0
Can you do that? Top I think has to be 30, left and right - auto, bottom - zero.
ralphm — 2012-09-17T19:09:53-04:00 — #9
Yes, that's absolutely fine.
chris77 — 2012-09-17T21:42:34-04:00 — #10
It's up. I'll have to go back to the store.
ralphm — 2012-09-17T23:25:20-04:00 — #11
I have a 27" iMac, and I can assure you that it's working well.
chris77 — 2012-09-18T18:03:49-04:00 — #12
If anyone is interested, I went back to Best Buy and it works fine now. An employee said the OS is "Lion" and not the latest "Mountain Lion". So it was a previous version of Apple's OS likely with a previous version of Safari that didn't correct for no max-width.
ralphm — 2012-09-18T19:52:39-04:00 — #13
The versions aren't that different.