October 26, 2012

Layout and Content Considerations for Responsive Web Design

Grid systems are a key component of graphic design, but they’ve almost always been designed for canvases with fixed dimensions. Today, the web we’re designing for has no fixed dimensions, it’s a medium that can shape-shift to better suit its device—a medium capable of displaying a simple layout on a smartphone, a portrait optimized site on a tablet, or a full-fledged website on a computer. We can now tailor designs for the device, thus providing our users with better experiences wherever they are at.

Boldmind

As the spectrum of possible resolutions get wider, focusing our attention on one layout for each page results in a subpar experience for more and more users. The days where we could depend on 99% of visitors using a computer are long behind us. Instead, we need to create a system that embraces the medium’s flexibility — resulting in a single layout with multiple views that transition seamlessly from one to another, and bring an optimized structure to our content regardless of screen size.

Base It On Content

Each state in a responsive layout tends to be made up of the same content, such as an image gallery, a long piece of text or perhaps a navigation menu. Each element’s form can vary between one’s viewpoint state and another, usually involving a change in one or more of the following attributes:

  • Hierarchy: What’s its order and prominence in the layout? What’s most important for this given viewpoint?
  • Density: How much detail do you show for each device? Who is using this sort of device and is this content relevant to them?
  • Interaction: Should the navigation be a list of links or a dropdown? A rotating image carousel or a group of images via scrolling?
  • Width: Is the viewpoint a fixed width or is it flexible width?

Considering how each component’s attributes may change between various states ensures that the grid system produces the corrects layout for the space at hand. Don’t assume your content is appropriate for all devices and sizes, analyze and think about what the content is and what’s most important for this given size.

Final Thoughts + Tips

Absolute units like pixels lock the layout to a finite resolution range in which it will “work.” Proportional units (ems, rems, and percentages) enable you to define the important relationships between elements, and are a crucial first step to “resolution independence”. With so many devices available today, it has become clear that it just isn’t practical to design two or three layouts at fixed resolutions anymore. Instead, we should give elements a size in relation to each other, then we must establish the relationships between elements, and then let the spacing take care of itself. In addition, have the CSS change based on viewport size so sizes/spacing and visibility can change per element conditionally. This will give you maximum flexibility to adjust for new devices and show the most relevant copy to your users.

Useful Resources

Paul Weinert
Author

Paul Weinert is our founder, managing principal and spirit animal. He’s one of those odd people you meet that was born in Portland, grew up here and still lives here for some reason. If you had two words to describe Paul after meeting him, we’d bet you’d use “charmingly quirky”.

Paul started GRAYBOX in February 2009, and for the first four years, GRAYBOX had a blend of a contract staffing firm and a traditional agency. GRAYBOX then hired our first employees in 2012 and has been growing ever since. Professionally, Paul has a background in internet business consulting, working especially with mid-market ecommerce, healthcare, and tech companies. He worked as a user experience designer, web developer and internet marketer. Nowadays, Paul serves as our company visionary, team mentor and head of executive leadership — Paul is extremely proud of the entire team and the company. He’s constantly humbled by the team’s awesomeness and the caring community that’s sprung up from his initial ideas.

Beyond GRAYBOX, Paul is married, has two young boys and lives in NE Portland. He’s also an active foster parent, mentors other local entrepreneurs, and volunteers on local non-profit boards. Businesswise, aside from GRAYBOX, Paul has started a few other businesses and is an active investor in the local startup scene.

For the sheer joy of it, let’s play 2 truths and a lie:

  1. Paul firmly believes that any activity would be better if on a boat.
  2. Other than this whole Internet thing, Paul has basically no other skills or expertise in anything.
  3. Paul is rare unicorn, actually born and raised in Portland.