Grow your CSS skills. Land your dream job.

content is sliding under position fixed element

  • # July 13, 2013 at 5:29 am

    Hi folks, I made this :
    http://www.gmp-engineers.com/project/kariakoo-market

    When scrolling about or changing lanscape/portrait on an ipad, the content gets pushed to the left, under the (fixed) nav. Not good.

    I have the css as this:
    .textbox {
    width:80%;
    margin-left: 20%;
    }

    I think it’s an issue with the background (article) being wider than it should be.
    Has anyone got an idea?

    # July 14, 2013 at 2:01 am

    I fixed it by using :

    body {
    width:100%;
    overflow: hidden;
    }

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".