Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-22-2011, 07:54 AM   PM User | #1
dauidus
New Coder

 
Join Date: May 2011
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
dauidus is an unknown quantity at this point
Exclamation iPhone/iPad cuts off right side of site

Hello,

I'm experiencing a curious issue when viewing my website on either an iPhone or an iPad. The right side of both my header and footer gets cut off, while the rest of the page loads correctly. I have not tested this on Android devices, but I imagine it is probably found there, too.

My header and footer are both set to 100% width and run some javascript and css to provide the animation (which shouldn't be causing this issue). I've tried adding a meta tag with a name "viewport" and putting some @media in my css file. But, it seems I may be barking up the wrong tree with both of those attempts.

Feel free to take a look at my code and try to figure this one out with me.

www.dauidusdesign.com

Please let me know if you've ever seen this happening before.
dauidus is offline   Reply With Quote
Old 05-22-2011, 08:29 AM   PM User | #2
dauidus
New Coder

 
Join Date: May 2011
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
dauidus is an unknown quantity at this point
Arrow

Fixed it!

Silly me... just had to put <meta name="viewport" content="width=1100" /> in my header and it worked like a charm.

Cheers
dauidus is offline   Reply With Quote
Old 03-30-2012, 03:09 PM   PM User | #3
bsteamer1883
New to the CF scene

 
Join Date: Mar 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
bsteamer1883 is an unknown quantity at this point
Wow - this worked perfectly for me - glad i found this thread off google!

I know it's been almost a year since you posted this but thank you!
bsteamer1883 is offline   Reply With Quote
Reply

Bookmarks

Tags
css, cut off, ipad, iphone, width

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 10:53 PM.


Advertisement
Log in to turn off these ads.