SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Wizard
    Join Date
    May 2012
    Posts
    1,107
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Post Is it always to put this every page?

    HI, I am newbie in responsive web design and i would like to learn on how to achieve this...while reading some references i found in the meta tag

    <meta name="viewport" content="width=device-width,
    initial-scale=1.0">
    My question for this,Is this should be always put in the meta tag in each page ?

    Thank you in advance

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,200
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by jemz View Post
    Is this should be always put in the meta tag in each page ?
    Yes, you'll need it on each page you want it to work on.

  3. #3
    SitePoint Wizard
    Join Date
    May 2012
    Posts
    1,107
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    Yes, you'll need it on each page you want it to work on.
    Ok, Thank you ralph for the quick reply

  4. #4
    SitePoint Enthusiast stelleninfotech's Avatar
    Join Date
    Apr 2013
    Location
    India
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes , you have to add this code .
    this viewport meta tag is used to make your site display correctly in the mobile phone and tablet browsers.

  5. #5
    SitePoint Member
    Join Date
    Oct 2012
    Location
    Coimbatore
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by stelleninfotech View Post
    Yes , you have to add this code .
    this viewport meta tag is used to make your site display correctly in the mobile phone and tablet browsers.
    Great how it works if we include this we don't need to have media query

  6. #6
    SitePoint Member Apokalupsis's Avatar
    Join Date
    Aug 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by webexperts View Post
    Great how it works if we include this we don't need to have media query
    Well...it may work for mobile devices, but not various resolutions on a monitor. So you would still want to use media queries with the min-width/max-width resolution attributes if you want to use "best practice."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •