Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS help with using @media screen

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31765
    retropunk
    Member

    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

    #58435
    retropunk
    Member

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.