html5 - How is the meta viewport tag used, and what does it do? -


  1. what browsers support meta tag?
  2. how use it?
  3. does mean solve mobile resizing problems?

if answer great newbies learning

<meta="viewport"> 

  1. the viewport browser support little bit across board. i'll point quirksmode page viewport browser support full details.
  2. you use viewport meta tag other meta tag. put code block straight in <head>.
  3. pretty much, again, little bit of mouthful here. i'd advise reading articles, reading w3 mobile best practices web design, or the current w3 draft specifications on viewport attribute <meta> tag.

in short, adding line website should implement viewport scaling should fix problems. (copied webdesigntuts+'s "quick tip: don't forget viewport meta tag" article)

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

p.s. quirksmode has a rather wonderful article describing issue that's worth reading understand why might helpful.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -