Div scrolling on iPhones?

Discussion in 'Web Design and Development' started by big_malk, Aug 22, 2008.

  1. big_malk macrumors 6502a

    Joined:
    Aug 7, 2005
    Location:
    Scotland
    #1
    I'm working on a website that includes a menu in a div, which scrolls when the menu gets to long for it. I checked how the site looks on my iPhone, and realised that you just can't scroll the menu and therefor can't see anything below the height of the div.
    Down the line I am considering making customised iPhone version of the site, but just now I'd be happy with making the site at least iPhone useable.

    I really don't want to just make the div extend to the length of the menu, because it can be very long, and the rest of the page content isn't, so the scrolling the div is much much more user friendly than scrolling up and down the page again and again.

    Is there another way to do this that I'm missing?
    Thanks
     
  2. tominated macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
    #2
    you have to use 2 finger scrolling for the div from memory
     
  3. big_malk thread starter macrumors 6502a

    Joined:
    Aug 7, 2005
    Location:
    Scotland
    #3
    :eek: I didn't know you could do that! Don't I feel silly :p
    Thanks for your help :)
     

Share This Page