The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › help with using @media screen
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
I added this in the javascript and it’s making a big difference!