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

Home Forums CSS Mobile Device Trick Re: Mobile Device Trick


I also do not want to write the following because I do not intent to hide all images

@media screen and (max-width: 480px)
img { display: none; }

Using a class name to hide certain elements is much better then having to define all of them in a media query (like you did with a #header section). The point of the code is to hide certain elements, not a section, and definately not all elements of a type.