I site I just completed (http://sudburypando.com) looks just fine in my browser. However, when I go on my iPhone or iPad, the right side is cutoff. I've been trying to fix this bug for hours without success. Does anyone know what I'm overlooking?
| SitePoint Sponsor |




I site I just completed (http://sudburypando.com) looks just fine in my browser. However, when I go on my iPhone or iPad, the right side is cutoff. I've been trying to fix this bug for hours without success. Does anyone know what I'm overlooking?
Chris Blackwell - my blog and ramblings
Comicville - Daily News and Comic Reviews
"web development is what I love...so that's what I do"

You have a min-width on your body of 1180px. Even if that wasn't set it would struggle to resize with the wide header image, it won't just shrink with the device. It may be worth looking at Media Queries to style things differently depending on layout- http://www.netmagazine.com/tutorials...queries-part-4
Nice looking site though.
Richard
Resell SSL Certificates - API / WHMCS / HostBill / ClientExec
ServerTastic - RapidSSL, Geotrust, Thawte, Symantec, SmarterTools and more




Chris Blackwell - my blog and ramblings
Comicville - Daily News and Comic Reviews
"web development is what I love...so that's what I do"

Its these fixed widths that are the problem. The whole site is fixed to this width and so it won't scale with with the browser window, ideally you want to use percentages
If the width on this rule is changed to 77% and the min-width is removed the sections under the banner float nicely:
.homepage {
margin: 0 auto;
width: 1180px; [Change to 77%]
}
html, body {
height: 100%;
min-width: 1180px; [Remove]
}
Please back up before you do anything
Richard
Resell SSL Certificates - API / WHMCS / HostBill / ClientExec
ServerTastic - RapidSSL, Geotrust, Thawte, Symantec, SmarterTools and more


Put this in the head of your pages:
It forces mobile devices to fit your page into the viewport.Code:<meta name="viewport" content="width=device-width; initial-scale=1.0">
Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form
Try your hand at the new JavaScript Challenge!
If you don't like getting your feet stuck in a bog, avoid Twitter BootsTrap.




Chris Blackwell - my blog and ramblings
Comicville - Daily News and Comic Reviews
"web development is what I love...so that's what I do"

Richard
Resell SSL Certificates - API / WHMCS / HostBill / ClientExec
ServerTastic - RapidSSL, Geotrust, Thawte, Symantec, SmarterTools and more
Bookmarks