Solved

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

Posted on 2011-03-03
6
1,433 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
  • 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 250 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 250 total points
ID: 37450393
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Businesses who process credit card payments have to adhere to PCI Compliance standards. Here’s why that’s important.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

808 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