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 8588225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:45:26+00:00 2026-06-11T22:45:26+00:00

I have a problem after updating to iOS 6 that is driving me nuts.

  • 0

I have a problem after updating to iOS 6 that is driving me nuts.

It looks like any time I have the attribute “placeholder” on an input field, while rotating from
Portrait to Landscape and back to Portrait again the page shifts some pixels on the left side causing a horizontal bar.

I concluded after long research that it has to be something related to the meta viewport because every time I use the content=”width=device-width” all works fine.

P.S Yes I really need to have a percent width on the input so as to have liquid design:)

Here is the example to recreate the issue. Thanks…

<html>
<head>
    <title>test</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport"/>
</head>
<body>

    <div style="width:100%;background-color:red">
        <input id="testInput"  placeholder="test" style="width:90%;" />
    </div>
</body>
</html>
  • 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-06-11T22:45:27+00:00Added an answer on June 11, 2026 at 10:45 pm

    I found this problem.
    and fix it.

    (URL : http://mooki83.tistory.com/2656550 (in korean))

    testURL : http://mooki83.da.to/m/testios6.html

    javascript :

    /* Optimized PLACEHOLDER for iOS6 - Mooki ( http://mooki83.tistory.com ) */
    
    
    $(document).ready(function(){
        $(window).bind("orientationchange.fm_optimizeInput", fm_optimizeInput);
    });
    
    function fm_optimizeInput(){
        $("input[placeholder],textarea[placeholder]").each(function(){
            var tmpText = $(this).attr("placeholder");
            if ( tmpText != "" ) {
                $(this).attr("placeholder", "").attr("placeholder", tmpText);
            }
        })
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have problem with repopulating form_upload after validation. Other input fields or selectboxes are
I have a php session problem in Firefox After updating Firefox to Firefox 15
I have problem with updating my datagridview after inserting new data to table. It
I have a problem that I would like to tell you because is about
I have a problem after i setup windows 7 all old projects in c#
I have odd problem: After starting server I got this error: undefined local variable
I have this problem: After instantiating this Window, open all nested expanders on the
I have this problem where after a field (say Field3 in table MyTable) is
I have a weird problem where after setting nocheck on a foreign constraint and
I seem to stumble on problem after problem giving my entities behaviour. I have

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.