Overflow hidden not working

Hey,
I'm in need of disabling scroll on body, and enabling it on div that appears on top.
I'm setting on body overflow: hidden;
and on div that show on top overflow: auto;
it works in all major mobile browsers, but in firefox it does not.
I've addded an image which represents my problem
black frame is viewport
red box is body with overflow:hidden
cyan box is div with overflow:auto
here's jsfiddle with an example: http://jsfiddle.net/gwhkLnbu/1/
on firefox mobile you can scroll the red div, but you cant do it on any other browser

''adwil [[#answer-710932|said]]''
<blockquote>
Hey,
Right now my site is working with something like this in CSS:
html.noscroll, body.noscroll {
overflow: hidden;
you have to add noscroll class to both body and html then it does basically same thing as overflow hidden just on body in other browsers
</blockquote>
Thanks. That doesn't solve my problem though. I would like to scroll on all the pages, as it is necessary. I just don't want an excessive amount of space under my content in firefox .

Similar Messages

  • Document.body.style.overflow = 'hidden' not working. page continues to scroll

    <html>
    <head>
    <style>
    body { overflow: hidden; width: 600px; height: 6000px; }
    </style>
    </head>
    <body>
    any text
    </body>
    </html>
    on this page disabled scrolling, but in firefox for android its not working.

    Hi Christian,
    I have changed it to px. But now I am getting the following error.
    java.lang.NullPointerException
    at com.sun.deploy.security.CPCallbackHandler.isAuthenticated(Unknown Source)
    at com.sun.deploy.security.CPCallbackHandler.access$1300(Unknown Source)
    at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.sap.xmii.applet.common.BaseApplet.stop(BaseApplet.java:1408)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Also my loading image is not appearing?
    Regards
    R.Prakash

  • Overflow settings not working

    When I set overflow to hidden inside a symbol, it works until I exit the symbol and then overflow returns to visible.
    Is there a fix for this?

    Try to force in code, not only by Edge UI:
    Symbol.getSymbolElement().css({"overflow":"hidden"});

  • Htmldb_item.hidden not working

    I have a report with a sql region. The query is SELECT HTMLDB_ITEM.HIDDEN(1,OWNER.OWNER_ID) OWNER_ID,
    OWNER.FIRST_NAME||' '||OWNER.LAST_NAME||' ' AS "OWNER NAME", HTF.ANCHOR('F?P=103:9:'||:APP_SESSION,'ADMIT =>')
    ||VISITOR.VISITOR_NAME AS "AUTHORIZED VISITORS"
    FROM OWNER,VISITOR WHERE OWNER.OWNER_ID = VISITOR.OWNER_ID AND SYSDATE BETWEEN VISITOR.START_DATE AND VISITOR.END_DATE AND UPPER(OWNER.LAST_NAME LIKE '%'||UPPER(:LAST_NAME)||'%'
    The query creates the link fine and the form opens correctly. I have a hidden field on the form which I have set to alternate source as 'only when current value in session state is null. The source type is ITEM(application or page item name). The source value or expression is HTMLDB_APPLICATION.G_F01(1). When I run the app and check the session output from the form the hidden field shows as hidden and null. I have tried pl/sql and just about everything else I can think of and it refuses to work. I've look through the forum and know it must be working for others so what in the blazes am I doing wrong?

    Scott,
    Thanx for your reply. It finally dawned on me that the paged was not getting submitted which meant that the array was not getting populated. The reason I was doing such weird things is that I am having problems creating links via the page attributes method. If I use the wizard to create a report with a row linked form it works great. It also works if I create a report on a single table and link a form to it. If I try to modify the sql to join other tables for the report (preserving the same format) I lose the link and am unable to recreate it. I was also wondering about the syntax in the sql in the wizard generated report. Do I have to write all my sql in the same format? It works both ways.
    Keep Smiling
    Bob R

  • Attributes volume clear hidden not working

    DISKPART > attributes volume clear hidden
    Virtual Disk Service Error :
    The operation is not supported on removable media.
     How to solve this??

    Hi,
    What is the OS version you run Diskpart command on? If it is Windows XP, so that is the cause. Please understand that Windows XP does not allow operations on removable media.
    For details about Diskpart command line tool, please refer to the following article.
    DiskPart Command-Line Options
    http://technet.microsoft.com/en-us/library/cc766465(v=ws.10).aspx
    Best Regards,
    Andy Qi
    Andy Qi
    TechNet Community Support

  • Overflow:visible; not working the way i want.

    Hi,
    ok so i have a problem with using overflow. I have an large image that I want to overflow outside the normal 940px wrapper on either side. So far it is all displayed fine however, im left with a scroll bar at the bottom of the screen which allows me to scroll over to the right untill all the image is displayed. I want it to only be visible if a large res display is being used. So how can i keep al this but remove the x axis scrol function?
    here  is my code
    <div id="cinema-wrapper">
    <div id="cinema-displays"></div>
    </div>
    #cinema-wrapper {
              width:940px;
              height:764px;
    #cinema-displays {
              background-image: url(../mackbyte_files/img/cinema-bg.png);
              height: 764px;
              width: 3109px;
              background-repeat: no-repeat;
              position: absolute;
              left:50%;
              margin-left:-1554.5px;
              overflow:visible !important;
    thanks

    Is this what you are looking for?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style>
    body {
        width: 940px;
        margin: auto;
    html {
        background: url(http://www.pwaworldtour.com/fileadmin/user/main_editors/images/hi_res/ARUBA_2011/A11_fs_WOMEN/A11_fs_ARU91_1755.jpg) no-repeat center center;
    .content {
        background: white;
        padding: 20px;
    </style>
    </head>
    <body>
    <div class="content">
        <h1>Header</h1>
        <p>Whose worth's unknown, although his height be taken. Let me not to the marriage of true minds admit impediments; love is not love love's not time's fool, though rosy lips and cheeks. Oh, no, it is an ever fixed mark which alters when it alteration finds, it is the star to every wand'ring bark. Let me not to the marriage of true minds admit impediments; love is not love within his bending sickle's compass come.</p>
        <p>Love's not time's fool, though rosy lips and cheeks if this be error and upon me proved, oh, no, it is an ever fixed mark. Or bends with the remover to remove. Admit impediments; love is not love whose worth's unknown, although his height be taken.</p>
        <p>Within his bending sickle's compass come; which alters when it alteration finds, but bears it out even to the edge of doom. That looks on tempests and is never shaken; love's not time's fool, though rosy lips and cheeks I never writ, nor no man ever loved. If this be error and upon me proved, within his bending sickle's compass come; it is the star to every wand'ring bark.</p>
    </div>
    </body>
    </html>

  • Safari 2.0.4 doesn't like overflow hidden

    My Safari version 3.0.4 (523.12.2) working as expected; having problems with 2.0.4 and later.
    I have a flash container that opens over the rest of the page and then collapses back into a smaller space. The html area that my flash movie floated over when it was opened is no longer clickable after collapse. I called a javascript function from flash to collapse the div back to its original state and it works in all browsers except Safari 2.0.4 and later.
    The one line called in the javascript function:
    document.getElementById('divname').style.overflow="hidden";
    Only problem is Safari version 2.0.4 and later do not appear to support this, yet all the documentation says it should not be an issue. Does any one have any suggestions on getting around this issue?

    Oh right... nothing happens when you rollover the buttons that were once under the flash movie that expanded; the hover and click do not work. I tried a z-index fix, but it slides my movie back behind the other components on the page and then is no longer visible. The overflow hidden fix works on all browsers except Safari 2 and later for some reason. It's quite bizarre.
    Thanks!

  • PRESENCE = "hidden" is not working for me!

    Hello
    I am developing a interactive form and the back end is SAP ERP software (where in the INITIAL screen will be developed) and the data bse is Oracle, fine.
    The my_form has 4 pages.
    The first 2 pages (1&2) are meant for to enter the family head details.
    And the last 2 pages(3&4) are meant for children details.
    As soon as user opened the application,User will get the 3 radio buttons as below,
    Would you like fill whole family details (all the 4 pages) [in this case my applicatuion should render all the 4 pages to user]
    Would you like fill ONLY family HEAD details (1st & 2nd page) [in this case my applicatuion should render first 2 pages to user]
    Would you like fill ONLY children details (3rd & 4th page) [in this case my applicatuion should render LAST 2 pages to user]
    So, i kept the below code in my_form.docReady event,
    {code}
    if( allFamily == "X"){
    // do nothing
    if( Head == "X"){
    xfa.resolveNode("MY_FORM.Page3").presence = "hidden"
    xfa.resolveNode("MY_FORM.Page4").presence = "hidden"
    if(  Children == "X"){
    xfa.resolveNode("MY_FORM.Page1").presence = "hidden"
    xfa.resolveNode("MY_FORM.Page2").presence = "hidden"
    {code}
    Its not working,
    1 - Pls. let me know whts is missing, why its not working?
    2 - How can get it done of my requirement, any code snippet and event pls.?
    3 - Pls. basically is it possibve to hide a page TOTALLY in the interactive forms concept? if so, wht is the correct EVENT to place my logic/code JavaScript? right now am keepng in docReady event
    Thank you

    Hi,
    try this...
    1. Design your option in a page.
    2. Hide your page 1,2,3 & 4
    3. Onclick of your option fire your logic.

  • "show hidden characters" is not working

    InDesign CC. Neither the show/hide grid nor the show/hide hidden characters works.

    Maybe you're in the wrong screen mode. Try View -> Screen Mode; invisibles like gridlines and hidden characters will appear in Normal, but IIRC not in Preview.

  • When we using overflow-x and overflow-y in tbody its not working properly. In the previous version i.e. 3.7.1 its working fine the same coding....Please help me.

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/828024]''
    when we using overflow-x and overflow-y in tbody its not working properly. In the previous version i.e. 3.7.1 its working fine the same coding....Please help me.

    See:
    *https://developer.mozilla.org/en/Firefox_4_for_developers#Miscellaneous_DOM_changes
    *http://www.cssplay.co.uk/menu/tablescroll.html
    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • DW bug? Not clearing floats via overflow:hidden

    OK so I think I found a bug in Dreamweaver CS3's Design View.
    I have been using an alternative technique to clear floats using
    overflow:hidden. It's not a new technique but it is very clean. You
    can read about it here:
    http://www.quirksmode.org/css/clearing.html
    I believe the technique is valid, standards-compliant and
    rendered by all modern browsers. What happens in DW is that the
    floats are not cleared, and the containing box collapses. Here's
    some very basic code to test it:

    It's a well known flaw in CS3 and earlier Design view. It's
    fixed in CS4.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "sly one" <[email protected]> wrote in
    message
    news:g5ip1q$90r$[email protected]..
    > OK so I think I found a bug in Dreamweaver's Design
    View. I have been
    > using an
    > alternative technique to clear floats using
    overflow:hidden. It's not a
    > new
    > technique but it is very clean. You can read about it
    here:
    >
    http://www.quirksmode.org/css/clearing.html
    > I believe the technique is valid, standards-compliant
    and rendered by all
    > modern browsers. What happens in DW is that the floats
    are not cleared,
    > and the
    > containing box collapses. Here's some very basic code to
    test it:
    >
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
    > <title>Clear Floats with Overflow
    Hidden</title>
    > <style type="text/css">
    > <!--
    > body{
    > font-family: Arial, Helvetica, sans-serif;
    > }
    > div.container {
    > border: 1px solid #000000;
    > overflow: hidden;
    > width: 100%;
    > }
    >
    > div.left {
    > width: 45%;
    > float: left;
    > background:#FF9900;
    > }
    >
    > div.right {
    > width: 45%;
    > float: right;
    > background:#FF9900;
    > }
    >
    > -->
    > </style></head>
    >
    > <body>
    >
    > <div class="container" style="overflow: hidden;
    width: 100%">
    > <div class="left">
    > <p>The left column.</p>
    > <p>The left column.</p>
    > <p>The left column.</p>
    >
    > <p>The left column.</p>
    > </div>
    > <div class="right">
    > <p>The right column.</p>
    > <p>The right column.</p>
    > <p>The right column.</p>
    > </div>
    >
    > </div>
    >
    > </body>
    > </html>
    >

  • Lion: search finder hidden files not working

    Hi,
    when I search hidden files in finder with Snow Leopard, it worked fine (putting 'visibility' filter).
    The same search in finder with Lion, it does not working.
    Is it a bug of Lion?
    Thanks.

    Open finder
    > Press Cmd-F
    > Under where it says "search" and "this mac" select the drop down menu called "Kind"
    > Under the "Kind" drop down menu, select "other..."
    > Select "System Files" and then "OK."
    > Choose system files from the "Kind" drop down menu. Make sure it says system files "are included"

  • I updated my iPhone 4S to the new IOS 6 I like it but the problem I found the Wifi button it's not working any more it looks hidden , so what I should do to solve this issue ASAP

    I updated my iPhone 4S to the new IOS 6 I like it but the problem I found the Wifi button it's not working any more it looks hidden , so what I should do to solve this issue ASAP

    Tap Settings App > General > Reset > Reset Network Settings. See if fixed. If not, Restore Firmware with iTunes on computer. See if fixed. If not, all iPhone 4S have Warranty, make Genius reservation and take iPhone to Apple for resolution.

  • Upon running Norton Security Suite Diagnostic Report on my HP Pavilion dv6 Notebook PC on a Windows 7 Home Premium platform, it shows 2 (hidden) devices not working: Antilog32, and AODDriver4.1--Code 24.

    On the General tab for device status it says: "This device is not present, is not working properly, or does not have all its drivers installed. (Code 24)" The only option available when I click
    on properties of both devices is Start. When I click on Start for Antilog32, this message shows: "The system encountered the following error when it attempted to start the service: The system cannot find the file specified." For AODDriver4.1, the
    message when you click Start on Driver tab is: "The system encountered the following error when it attempted to start the service: The system cannot find the path specified." I do not know how to proceed or
    how to fix this, or where to find a solution. Please help!

    Hello pds48478480,
    Do you mean you got the error code 24 in Norton Security Suite Diagnostic Report?
    Please share us a screenshot for better analyzation.
    Please take a look at the following thread about the AODDriver4.3.
    http://answers.microsoft.com/en-us/windows/forum/windows8_1-performance/the-aoddriver43-service-failed-to-start-due-to-the/cb6b7f03-922b-4b82-972f-e92ef9919964
    AODDriver 4.3 is used by AMD OverDrive which tune parameters to help system stability, optimize performance, and control cooling/acoustic characteristics.
    With the issue description it seems the driver and the service is either stopped or not working correctly.
    Refer to the link below and install the latest version of AMD OverDrive.
    http://www.amd.com/en-us/markets/game/downloads/overdrive
    Please note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Hidden login items not working

    Hello I currently have both messages and email open at startup. I wanted to make them open without opening a window so i selected "hide" in login items; however, for some reason this does not work. I got email to hide but messages wouldn't. But now messages will hide and email will not.

    Instead of dragging, click on the + button, navigate to Quicksilver, and add it.

Maybe you are looking for

  • Living overseas and want to unlock iphone

    I am living overseas for 2 years with the peace corps and I would really love to be able to use my iphone with a carrier here, but it is currently locked. Verizon is frustratingly hard to contact to get anything answered! Is there any way I can get m

  • MD04 - stock/requirements list

    hi all, can anyone enlighten me on the date of mrp element prdord? how is this date derive from (a formula)? i had a report that extract prod. order confirmations and needed to incorporate this date from MD04. thanks!

  • RoboHelp 6

    Hello All, Just trialing RoboHelp 6 and have discovered the following issue: After installing the RoboHelp Office software on XP in a user with local admin rights everything works fine. When I log in with a non-priviledged user I get the following me

  • How to File Convert to Blob? help me

    Hey Guys........... How to convert inputStream to blob ???? kit = new RTFEditorKit(); Document doc = kit.createDefaultDocument(); InputStream is = getUploadedFile().getInputStream(); DCIteratorBinding iterTemplate = ADFUtils.findIterator("TemplateVOI

  • AdvancedDataGrid Drag Drop Error

    I'm running into an issue where AdvancedDataGrid is not accepting drag and drop from controls that do not implement dataprovider in HierarchicalData format. If i change the ADG's dataprovider to a flat arraycollection then it will be able to receive