Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to avoid collapse in absolute gallery

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #176293
    XaviJr
    Participant

    Here’s the problem:
    http://jsfiddle.net/H7Yc9/1/

    When the browser window has less width that 450px (total width of the 3 images) the overflow images collapse.

    The gallery and images width are not always the same.

    How can I avoid this behavior?

    #176295
    Paulie_D
    Member

    Why are you using position absolute…it doesn’t seem that there is a good reason to do so here?

    It’s not clear to me what you are trying to do.

    #176296
    XaviJr
    Participant

    I use it for navigation.

    On a mouse over in the navigation arrows I just change the left value of gal. I left the navigation part out of the example.

    #176298
    Paulie_D
    Member

    I use it for navigation.

    It’s still not clear.

    Is this some sort of side scrolling gallery?

    #176299
    XaviJr
    Participant

    It’s like this gallery but instead of click I use hover to navigate on it:

    http://tympanus.net/Tutorials/ResponsiveImageGallery/

    #176300
    Paulie_D
    Member

    I would suggest that you examine that example using developer tools to see how it’s done.

    As far as I can see, it doesn’t use absolute position at all just a very wide menu in a div with overflow:hidden.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.