Forums

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

Home Forums CSS @media (max-width) Re: @media (max-width)

#119260
Andy Howells
Participant

I was using @media handheld, only screen and (max-width) {} for ages. I have no idea why.

One thing of note though – you may not want your responsive stuff to do something for print. So unless you’re specifying an alternative stylesheet explictly for print – the @media will cover everything.

I just tested on one of my sites removing screen from the stylesheet media and it changed the way it prints, from basic to an attempt at the styled site.