The iPhone 5's screen is as wide as before and taller. Phone pages that assume the old height, with fixed boxes, splash screens or bars held by scripts, need changes; flexible layouts need none.

Taller, and no wider

Apple announced the iPhone 5 yesterday. Its screen measures four inches corner to corner instead of three and a half, and all of the gain is in height.

Pre-orders open tomorrow, and it goes on sale in Canada on Friday, September 21, when some of your phone visitors will start using one.

Most websites will not notice. A few will show a gap at the foot of the screen, a stretched picture or buttons floating halfway up.

What a web page sees

In pixels, the screen grows from 960 to 1,136 tall and stays 640 wide. Pages are laid out at half those numbers, so a page sees a screen 320 wide and 568 tall instead of 480.

A phone site that fits an iPhone 4S still fits from side to side. What changes is how much shows at once, and anything built to fill exactly one screen.

Apps not yet updated will run with black bands above and below. Web pages get no bands: Safari hands them the extra height, ready or not.

What tends to break

All five rest on one assumption: that a phone's screen has a known, fixed size. The iPhone 5 is just the newest phone to break it; Android phones have come in many sizes for years.

Fixed heights and the empty band

Some phone sites were designed as a series of screens, each with a fixed height that exactly fills an iPhone 4S: a home screen of four large buttons, a menu screen, a contact screen.

On the taller screen each box ends short of the bottom, above a band of bare background. A box holding more text than it was sized for cuts it off, or grows its own scroll bar.

The cure is to let each box be as tall as its content, with colours and backgrounds set on the page itself, so a longer screen shows more page, not empty space.

Splash screens and start-up images

A splash screen, the logo shown while a phone site starts, is usually one image cut for one shape. On another shape it can appear in the wrong proportions, or not at all.

It was always a delay between visitors and what they came for. A new screen shape is a good reason to drop it rather than make another size.

Where a start-up image must stay, it needs a version for every screen shape, and the next phone may need one more.

App-like layouts

Some phone sites imitate an app: a header above, tabs below and the content scrolling between. Holding those bars in place often relies on a script that works out the screen's height.

Some scripts measure the screen. Others have the old height typed in, and on the taller screen the tabs float partway up with content showing beneath them.

Android browsers differ again, so a layout that depends on a measured height breaks somewhere. Pages that scroll normally, with links at the top and the foot, break nowhere.

A worked example

A chauffeur service in Kelowna runs four cars for airport runs, weddings and winery tours. Its phone site was built to look like an app, with a full-screen logo and four large buttons.

Every screen had a fixed height matched to the iPhone 4, and a script with that height written in held a Call and Book bar at the bottom.

On a large Android phone the bar already floated above a strip of background, but everyone in the office carried an iPhone, so the problem had gone unseen.

The splash screen was dropped. The screens became ordinary pages whose height follows their content, and the Call and Book buttons sit at the top of each page and again at its end.

Before launch, the dispatcher made a test booking on her iPhone, a borrowed Android phone and a tablet, looking for anything that floated or stopped short.

A taller screen is a non-event for pages like these. Each phone, the new iPhone included, shows as much of the page as it can hold, and the visitor scrolls for the rest.

Why a flexible layout avoids the problem

A flexible layout sets widths as proportions of the screen and lets height follow the content. A taller screen just shows more before the visitor scrolls.

Responsive designs go further, rearranging the layout for any width, phone or desktop. Sites built that way should need no changes for the iPhone 5.

None of this needs a version of the site per device. One flexible design, tested on a few screens, carries over to phones not yet made.

The sharp screen is unchanged

The new screen is exactly as sharp as the iPhone 4 and 4S. Images prepared for those screens need nothing new, and images that looked soft on them will look soft here too.

A few older phone sites still serve small images made for the original iPhone, and those look soft on all three.

The counter-case

A site with no phone version and no fixed heights looks on the iPhone 5 as it does on a 4S: the desktop layout shrunk to fit, with a little more visible at once.

There is nothing to fix for this phone. That is not the same as being easy to use on a phone: visitors still pinch and zoom to read, and the iPhone 5 changes none of that.

A phone-friendly layout stands on its own merits, and the new phone is a reminder rather than a reason to plan one.

Checking the site on a taller screen

  1. List the pages of the phone site with a fixed height.
  2. Look for a splash screen and plan to remove it.
  3. Check any bar pinned to the screen's top or foot.
  4. Find the phone detection and how it recognises phones.
  5. Borrow a large Android phone and open the same pages.
  6. Try an iPhone 5 in a store from September 21.
  7. Plan a flexible layout for the next redesign.

Step five can be done today. Many recent Android phones have a screen of much the same shape, so a page that breaks on the new iPhone has probably been breaking on them for months.

Logos and photos that look soft on screens this sharp, and how to replace them without slowing the site, are dealt with in the new iPad's Retina screen and blurry logos.


Frequently asked questions

Will my website work on the iPhone 5?

Almost certainly, since the screen is as wide as before. Trouble appears only where a page assumes the old height, as fixed boxes, splash screens and scripted bars do.

When can Canadians buy the iPhone 5?

Pre-orders open on September 14, and the phone goes on sale in Canada on September 21, the same day as in the United States.

What screen size does a web page see?

A screen 320 wide and 568 tall, up from 480 tall on the iPhone 4S. The phone's real pixels are twice those figures, as on the 4S.

Do my images need to be redone for it?

Not for this phone. Its pixels are the same size as the iPhone 4S's, so images prepared for that screen look the same on the new one.

Should a phone site keep its splash screen?

Usually not. It delays the content visitors came for, and an image cut for one screen shape can look wrong on another, including the new iPhone's.

Does a responsive design need changes?

Not for this. A layout that adjusts to the screen's width and lets height follow the content simply shows more of each page on the taller screen.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Phone site built to fit one screen exactly?

Tell us its address, and we will list what to change before the new iPhone turns up in your customers' hands.

Start a Conversation