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

content is sliding under position fixed element

  • # July 13, 2013 at 5:29 am

    Hi folks, I made this :

    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 {
    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 {
    overflow: hidden;

Viewing 2 posts - 1 through 2 (of 2 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