?
Solved

Is there an alternative to using meta name="viewport" when designing webpages for smartphones?

Posted on 2011-03-03
6
Medium Priority
?
1,546 Views
Last Modified: 2013-11-29
Hi

I am building a web site which will be viewed on smartphones eg iphone etc and have been using the

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

tag so the site will zoom in and format correctly. My problem is that the payment gateway im using (Worldpay) have a whote list of tags that can be used and meta name="viewport" is NOT on it and i think most meta name tabs too! To get a tag put on this list takes a long time, so my question is:

Is there an alternative way of doing the same thing?

Frontech Ltd
0
Comment
Question by:frontechltd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 16

Expert Comment

by:SSupreme
ID: 35048454
Check for name="HandheldFriendly" or name="MobileOptimized".
0
 

Author Comment

by:frontechltd
ID: 35069552
Thank you but those meta tabs are blocked too. I have since found out the ALL meta tags are blocked for PCI reasons! So maybe something in css maybe?

0
 
LVL 16

Assisted Solution

by:SSupreme
SSupreme earned 750 total points
ID: 35071727
Something like this? <link media="only screen and (max-device-width: 480px)"
  rel="stylesheet" type="text/css" href="iphone.css"/>
0
 
LVL 5

Accepted Solution

by:
perezjos earned 750 total points
ID: 37450393
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Learn how to use the free Acronis True Image app to easily transfer data between iPhones and Android phones.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question