Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Jul 2010
    Posts
    26
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Scroll bar Firefox vs Safari

    Hello! Can anyone tell me why this scroll bar is not appearing in Firefox, but is totally fine in Safari!!! I will be eternally grateful.

    This is driving me crazy!!

    http://www.homemadecook.com/projects.html

    (The scroll is in the "spotlight" section)

    Thank you!!!!!!!

  • #2
    New Coder
    Join Date
    Jun 2011
    Posts
    45
    Thanks
    4
    Thanked 0 Times in 0 Posts
    I havent had time to test this but it might have something to do with in your html you actually have your overflow set to hidden.

    Code:
    <div id="spotlight">
    <div id="spotlight_head"><span class="spotlight_header">*Spotlight</span></div>
    <object type="text/html" data="spotlight.html" style="width:260px; height:340px; margin:1%; overflow:hidden;"></object>
    Change that to overflow:auto; and see what happens. Like I said I havent tested but that was something I saw right away.

    Matt

  • #3
    New Coder
    Join Date
    Jul 2010
    Posts
    26
    Thanks
    4
    Thanked 0 Times in 0 Posts
    That's for the parent page, and I don't want that scroll bar to be visible...there is a scroll bar on the object page, which controls yet another object. The 2nd page scroll is the one that's disappearing. Thanks!

  • #4
    New Coder
    Join Date
    Jul 2010
    Posts
    26
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Anyone else have any idea? I'm still stumped!

  • #5
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    nvm i get it now

    try fixing your errors that you already have:

    Code:
    #mycustomscroll {
        /* Typical fixed height and fixed width example */
    width: 200px;
        height: 280px;
        overflow: auto;
        /* IE overflow fix, position must be relative or absolute*/
    position: relative;
        background-color: #52c0bc;
        margin: 0.3 em auto;
        top: 60px;
        padding-top: 0px;
        padding-left: 15px;
        padding-right: 15px;
    }
    3em not 3 em
    Last edited by Sammy12; 07-18-2011 at 10:52 PM.

  • #6
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    from what i see, you probably forgot to close or left off an end tag
    Iv never used an object with an object, but there could be a chance that you can not do that. Kind of like how you cant put a <!-- --> within a <!-- -->



    this is firefox's inspect element, as you can see there is nothing in the object which means what I stated above.

    There is also a chance that the server did not completely upload the files, which would be an issue you have to work out with your service provider (not likely in this case)
    Last edited by Sammy12; 07-18-2011 at 11:04 PM.

  • #7
    New Coder
    Join Date
    Jul 2010
    Posts
    26
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Thank you all. I cleaned up the code, and got rid of the object within the object, but the scroll still isn't showing up in Firefox!!! The thing is, I had this working perfectly before I made some minor changes to the object, and the changes to the projects.html page were minial. I just still can't figure out why what it is!!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •