Forums

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

Home Forums Other Alternate website for iPad & Mobile Re: Alternate website for iPad & Mobile

#53471
DogsGhost
Member

you use a media query to check for something like what kind of device the person is using or, as I usually do, check the current width of their browser. You then attach a stylesheet that has the altered styling for that screen size.

The first link is the full stylesheet for desktop browsers. then if the screen width goes to 768 or lower (ipad) the third stylesheet comes into play. Then if the screen goes belows 320px (phone) the 2nd sheet is activated.