Except where otherwise noted, the contents of this document are Copyright © Marty Stepp, Jessica Miller, Victoria Kirst and Zachary Cava. All rights reserved. Any redistribution, reproduction, transmission, or storage of part or all of the contents in any form is prohibited without the author's expressed written permission.
original session idea by Zachary Cava
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4
$_SERVER["HTTP_USER_AGENT"]
and get_browser()
to read the string.<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
Property | Description |
width | Width of page, CSS 100% will be equal to this value. Values: ###px -or- device-width |
height | Height of page, CSS 100% will be equal to this value. Values: ###px -or- device-height |
initial-scale | The initial zoom to have the page at, its a ratio. Default: 1 |
maximum-scale | The most the page can be zoomed, more on this in a second. |
maximum-scale
part of the viewport with its value equal to initial-scale
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">