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

Home Forums CSS Mobile Question Re: Mobile Question

Andy Howells

Yo dawg nice site,

You need to add the following into the <head></head> section of your site;

You should also add this into the start of your CSS document;

@-ms-viewport {
width: device-width;

@viewport {
width: device-width;

These basically tell the browsers that your site can downsize. Meta viewport works for iOS devices, whereas the @viewport/@-ms-viewport rules work for IE10 downsizing during snap mode.