Forums

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

Home Forums CSS Precent this div from moving on browser resize?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35356
    mikeman
    Member

    Im not sure if the Title of this post was very clear, im not sure how to describe it without and example..

    if you go to http://bit.ly/uRrGcQ

    theres a video on the left, (doesnt play yet)

    and when you resize the browser (smaller) the video holding div that uses the Film Strip on the sides is then exposed.. i gave the div class “filmstrip” a max height of 311px.. but that didnt do it.

    any idea how to stop the film strip div from over exposing itself?

    thanks!

    #91383
    mattgoucher
    Member

    Instead of wrapping the video “pro-player-container” inside of the “filmstrip” div, why don’t you just apply the styles to directly to the player?

    When the browser resizes, the player gets thrown into negative space because its dimensions stay the same, but the parent container doesn’t change.

    #91430
    timmey
    Member

    have you tried http://fitvidsjs.com/ ?

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