Grow your CSS skills. Land your dream job.

iFrame with Fixed Header?

  • # September 23, 2012 at 3:12 am

    I would like to do something similar to this:
    http://bit.ly/RLpHme

    I’m working on a website for a real estate agent, and she would like to load the listings from her partners site, but have a fixed header at the top with her information.

    How would I go about achieving this?

    Thanks for the help!

    # September 23, 2012 at 3:52 am

    Hi,
    Add this style property on top div header.

    { position: fixed;
    width: 100%;
    }

    # September 23, 2012 at 10:23 am

    Yep, just like he said. Just put that style rule on the outermost container that you want to stay in the same place.

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

You must be logged in to reply to this topic.

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