Solved

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

Posted on 2011-03-03
6
1,457 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 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Learn about the eCommerce marketing trends for the year ahead.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

733 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