Grow your CSS skills. Land your dream job.

vert. menu overlapping 1st box (pos absolute), 2nd box should pos itself below 1st box

  • # April 1, 2013 at 9:48 am

    Hi there,

    http://jsfiddle.net/v8WGa/2/

    **I try to position the second sidebar box (red background) below the first one**.
    the first box is positioned absolute, so that the flyout menu can overlap it. the second menu is positioned static, making it dependant on the height of the flyout menu.

    is there a way to position the second box always under the first box, no matter what height it got?

    thanks a lot, cheers, j

    # April 1, 2013 at 1:28 pm

    okay, found a solution: http://jsfiddle.net/v8WGa/3/

    positioning nav#sub absolute instead of the box below did the trick

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".