The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

iFrame with Fixed Header?

  • # September 23, 2012 at 3:12 am

    I would like to do something similar to this:

    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

    Add this style property on top div header.

    { position: fixed;
    width: 100%;

    # September 23, 2012 at 10:23 am

    This reply has been reported for inappropriate content.

    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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed