Grow your CSS skills. Land your dream job.

help with using @media screen

  • # February 24, 2011 at 6:31 pm

    Hi everyone, I’m hoping to get some help on how to use @media screen on the iPad.
    My CSS works great when I resize the browser. Here is a snippet:

    @media screen and (max-width: 920px) {
    #sidebar { display: none; }
    .content {width: 639px; margin: 0px auto;}
    .snaplinks {width: 639px;, text-align:right;, margin: 0px auto;}
    #nav {top:-5px; top: -25px; left: -9px;}
    }

    Is there something I need to include so this works on the iPad?

    Thanks everyone.
    - P

    # February 24, 2011 at 6:54 pm

    I added this in the javascript and it’s making a big difference!

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