SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Sep 2004
    Location
    dc
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scrolling DIVs not working on Mac

    Hi,
    I thought I would try in this category, cause I haven't had much like in the CSS one...........

    I've created a website:
    http://www.parastoo-zeraat.com

    And I have div tags with scrolling content. Unfortunately, the content inside the div tags does not display with Firefox for the Mac [I haven't checked other browsers for Mac, which may have the same problem -- if anyone can check, that would be great].

    How can I solve this problem [without having to recode the site using IFrames]?

    I had a similar problem using Firefox for the PC, but a snippet of CSS specifically targeted for mozilla browsers using scrolling divs solved the problem. I haven't found any such solution for Macs.

    Thanks in advance!
    -pstoo

  2. #2
    SitePoint Wizard
    Join Date
    Nov 2000
    Location
    Chico, Ca
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do not have a problem with scrolling divs. With CSS I just add overflow:auto; and it works.

    I noticed you are using overflow-y:auto; , I've never seen overflow-y. It looks like properitory IE style.

    Take a look at a site I did using a scrolling div: www.chuckknows.com/gisske

    I hope this helps,

    Chuck
    "Happiness doesn't find you, you find happiness" -- Unknown
    www.chuckknows.com

  3. #3
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,236
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Chuckie
    I noticed you are using overflow-y:auto; , I've never seen overflow-y. It looks like properitory IE style.
    Yes and no. IE/Windows started it, but it's going into the CSS3 standard. Mozilla will be supporting it soon, if not already. For now though, regular overflow is the best way to deal with things cross-browser.

  4. #4
    SitePoint Member
    Join Date
    Sep 2004
    Location
    dc
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, so I've added the overflow: auto.
    In addition I have:

    IE and others-->overflow-y: auto;
    this one to support mozilla-->overflow: -moz-scrollbars-vertical;

    Can someone with a Mac check and see if its okay now?
    There should be content!
    Thanks,
    -p


Bookmarks

Posting Permissions

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