Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7085095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:22:57+00:00 2026-05-28T07:22:57+00:00

For some reason on the iphone, my footer doesn’t stretch across the screen, even

  • 0

For some reason on the iphone, my footer doesn’t stretch across the screen, even though it’s css is set to width: 100%. You can view an example of my footer issue here: http://pixelcakecreative.com/tla2/

My css for the footer is as follows:

#footer{ width:100%; margin-top:100px; position:relative; clear:left; background:#4c4c4c; float:left; padding:30px 0;}

This problem ONLY applies to iOS devices, as the layout works fine on PC browsers. Any idea how to fix this? I have tried everything I can think of. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:22:58+00:00Added an answer on May 28, 2026 at 7:22 am

    Try by simplifying your meta name viewport (at least for iOS) to the following line:

    <meta name="viewport" content="width=device-width,initial-scale=1" />
    

    Less attributes than you are normally told to have, I know, but it has worked for my mobile projects.

    Now, upon closer inspection, the majority if your site is under ‘center’, and then you have wrapper and footer.

    The code used for the wrapper and the footer is different. Wrapper has a fixed width:941px; whereas footer just has width:100%. The majority of the elements inside wrapper have width:100% but that only works because wrapper has width: 941px.

    So, you either try adding that same width and padding to footer {width:941px; padding:30px 34px;} or something along those lines OR

    You throw footer inside a similar wrapper with a fixed with, padding, etc and then let let footer keep width:100%;

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For some reason, my iPhone app doesn't ask the user for permission to use
Possible Duplicate: iphone webkit css animations cause flicker For some reason, right before my
For some reason, after installing the iPhone OS 3.0 SDK, I have no option
For some reason, when I am using the iPhone simulator, all of my text
For some reason, i have to make a aspx page to let iphone/android to
I've written an unhandled error module for my iPhone app, but for some reason
I have integrated Google mobile analytics into my iphone app, but for some reason
For some reason my CSS Gradient isn't working in Firefox (v10.0.1). The main background
For some reason i cant test my apps on a real iphone anymore. My
I am doing serverside work for my iPhone app, and for some reason the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.