Responsive Layouts Getting Started Guide
Responsive Layouts Getting Started Guide
Responsive Layouts - Getting Started Guide 1
Contents
Introduction 3
Chapter 1. Screen and Mobile Emulation 5
Things You Must Know about Emulators 6
Screen Size Emulation - 3 Free Tools 8
Built-In Browser Features: Chrome 8
Built-In Browser Features: Firefox 10
Large Screens Emulation: Screenfly 12
Chapter 2. Mobile UI Validation Tools 14
Can you Handle All Possible Screens Automatically? 14
Where to Start? 15
Free Tools for Mobile CSS Issues Detection 16
Chapter 3. Problems and Solutions 19
Typical Mobile Experience Problems 19
Issue #1 - Horizontal Scrolling on Mobile Devices 19
Issue #2 - Empty Space on Wide Screens 20
Issue #3 - Jumping Floating Elements 21
Mobile Experience - Dos and Don'ts 22
Advice #1 - No Hard-coded Widths 22
Advice #2 - Percentages and Column Layout 23
Advice #3 - Dynamic Menu Layout 24
Advice #4 - Fat Fingers 24
Advice #5 - Hover Events 25
Chapter 4. Responsive Styles 26
Planning Changes 26
Choosing Screen Resolutions 28
Conclusion 31
Responsive Layouts - Getting Started Guide 2
Introduction
Have you ever thought of what your online documentation looks like
when viewed on a 1920x1080 monitor or opened from an iPhone?
Well, today you definitely should. It is not a secret for anyone that
mobile browsers usage grows rapidly and having a mobile website
becomes a must for every online business. But did you know that
1920x1080 seems to be a #2 popular resolution around the web?
People are mostly using their smartphones to look something up
online real quick nowadays. This means that technical writers should
be prepared to answer the challenge of making online
documentation responsive. Are you sure your screenshots will fit into
iPhone screen nicely and will not produce horizontal scrollbar, which
ruins readability? Being a tricky task, however, adjusting
documentation to different screen sizes is doable if carefully planned
and carried out step by step. And, this is exactly what we are going to
give you in this ebook.
If you know a little about responsive design, this ebook1 is a great
place to start. Further on, you will find the overview of tools needed
to make things responsive, advice on techniques you should use,
pitfalls revealed, and approaches to responsive content explained.
1
D
isclaimer: This e-book is designed for information purposes only. The publisher and the
author(s) is not engaged to render any type of psychological, legal, or any other kind of
professional advice. The content of each article is the sole expression and opinion of its author(s)
and publisher. No warranties or guarantees are expressed or implied with this e-book. Neither
the publisher nor the individual author(s) shall be liable for any physical, psychological,
emotional, financial, or commercial issues, including, but not limited to, special, incidental,
consequential or other issues. You are responsible for your own choices, actions, and results that
might arise due to the use or misuse of this e-book.
Responsive Layouts - Getting Started Guide 3
Responsive Layouts - Getting Started Guide 4
Responsive Layouts - Getting Started Guide 5
Responsive Layouts - Getting Started Guide 7
Responsive Layouts - Getting Started Guide 8
To enable this feature, just go to Developer Tools (Ctrl + Shift + J),
click Settings icon at the top right corner and check the “Show
'Emulation' view in console drawer” option. This is it. The UI might
Responsive Layouts - Getting Started Guide 9
Responsive Layouts - Getting Started Guide 10
Responsive Layouts - Getting Started Guide 11
Responsive Layouts - Getting Started Guide 12
Responsive Layouts - Getting Started Guide 13
Responsive Layouts - Getting Started Guide 14
Responsive Layouts - Getting Started Guide 15
Free Tools for Mobile CSS Issues Detection
It is always a good idea to run automatic validations on your pages as
you work on them to notice the issues timely before it is too late. In
this section, we will cover a few free tools from popular vendors
which can help you with that.
1. W 3C mobileOK Checker.
This tool provides comprehensive report on all content associated
with the given page - markup, styles, images. It checks for various
standards compliance, validates against a number of heuristic rules
to check for things which are known to cause issues on mobile
devices and so on. The main validation targets are page performance
Responsive Layouts - Getting Started Guide 16
The name of the tool may cause confusion, but this tool does check
both mobile and desktop versions of your pages via proper mobile
emulation.
This is the tool of our choice - not because we have been flattered by
its output, but because it emulates mobile devices and focuses on
Responsive Layouts - Getting Started Guide 17
Responsive Layouts - Getting Started Guide 18
Responsive Layouts - Getting Started Guide 19
Responsive Layouts - Getting Started Guide 20
Responsive Layouts - Getting Started Guide 21
Mobile Experience - Dos and Don'ts
Now, when you are aware of typical problems, let us examine
possible solutions. By following the guidelines below, you will handle
the majority of the mobile experience problems in your online
documentation. So, let's get rolling!
Responsive Layouts - Getting Started Guide 22
Responsive Layouts - Getting Started Guide 23
Responsive Layouts - Getting Started Guide 24
Responsive Layouts - Getting Started Guide 25
Responsive Layouts - Getting Started Guide 26
@media print
{
.test {font-size:20px;color:gray;}
}
@media screen,print
{
.test {font-weight:bold;}
}
Responsive Layouts - Getting Started Guide 27
Responsive Layouts - Getting Started Guide 28
Responsive Layouts - Getting Started Guide 29
Responsive Layouts - Getting Started Guide 30
Conclusion
Now when you have the tools and learned some theory, you should
be ready to adapt your content for different screen sizes. In these
four chapters, we covered a huge part of the process of making
online manuals responsive and answered basic questions on this
topic.
We hope that with the knowledge and online resources mentioned in
this ebook at hand, you will be able to work out your own path to
success in making your online documentation responsive.
After reading this 30+ page introduction ebook, you may have
realized that responsive design is sometimes complicated. So, if you
don’t want to go too deep into it, consider using an online
documentation solution like C lickHelp, that handles the main
challenges automatically for you.
Responsive Layouts - Getting Started Guide 31
Responsive Layouts - Getting Started Guide 32