Grow your CSS skills. Land your dream job.

POSITION:FIXED.

  • # March 30, 2013 at 10:56 am

    I have a small problem to fix right now.
    I have two divs inside a parent div – wrapper.
    i floated the two divs left so that they will stay side by side.
    problem: i want the div on the left side to be fixed, while the one on the right will be scrolling.
    but immediately i applied position:fixed to the left div, the right one just scattered.
    Can anyone with code show me what i need to add?
    thank u.

    # March 30, 2013 at 11:00 am

    Just float the one wanted on the right – right. Position fix the other to the left

    # March 30, 2013 at 11:26 am

    ok

    # March 30, 2013 at 2:07 pm

    Your welcome

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

You must be logged in to reply to this topic.

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