There are two variations of mechanism: strict encapsulation, where the element is totally contained within a box; and softer containment, where the box is suggested using the hierarchical cascade and white space.

Strict: Encapsulation

This is where you show that an element is part of, or a child of, or (one-way) related to, another element, by placing the child within the bounds of the parent. The parent might be identified simply by a label that's either inside the box and towards the origin, or sitting on the edge of the box.

In this example, the three panels clearly belong to the group "Home page - Features", because the title bar defines a box that contains the three objects below.

Here, the title describes the child items: they are all "Features on the home page"

Alternatively, it might simply be a box within a box that is otherwise identified (e.g. links associated with this document).

Soft: Hierarchical cascade

This is the softer alternative to the more literal encapsulation. It doesn't depend on the 'higher' element actually encompassing the 'lesser' element, but the containment is suggested through visual superiority. The 'superior' element should be laid out near the 'lesser' or child elements, and toward the origin (either to the left, or above, or both).

Although there is no physical containing box, the title "Bargain flights" obviously applies to every item in the list.

This is suggested because the title is situated between the list and the page origin, and reinforced by the title bar projecting a little further left (towards the origin) than the list, and spanning its full width.

The 3 types of house all belong to the category "Three-bedroomed Homes"

Although the title "Three-bedroomed homes" does not span the the full width of the child elements, it projects slightly left of their left edge, and no other element exists in the imaginary box created by the white space.

Example of too much encapsulation

Click to view image full-size

Example of too much encapsulation

This page uses too much encapsulation, with the result that everything seems separate, with nothing related to anything else. You also don't know where to look first.

Several self-contained sections, like the blue header, create hard breaks across the full width of the content area

The only way to maintain visual relationships in this scenario would be to use strict alignment, indenting elements different amount to suggest their relationships. The centre-aligned navigation here is particularly ineffective.

Example of incomplete encapsulation

Example of incomplete encapsulation

This snippet shows incomplete boxes. It's encapsulation that's started but not finished.

I think that the end result is worse than having all boxes or just using whitespace and no boxes at all. It causes an illusion that the brain finds unsettling.


Do you love our approach to crafting simple & effective web sites that just work for people?

We'd love to hear about your web strategy. Contact one of our team today!

Search this site
Pro Tips
Learn how to make fantastic web site designs..
Buy "Save the Pixel" now!
On “Save the Pixel”
Clicss templates, great robust useful CSS templates from £40
Share this Article
Send to a friend now&hellip
Follow Ben Hunt on Twitter
Floor 3
111 Buckingham Palace Road
London
SW1W 0WQ
UK
Phone
+44 (0)207 1600 989

Articles + tutorials in Graphic Design for the Web

Web Design index
List of articles and tutorials in Web Design section
Current Style in web design
My summary of the crucial advances in web design in recent years, why today's web sites are better than they were 10 years ago.
Web2.0 Design Style Guide
A guide to the Web2.0 web look, why each feature is effective, and tips on applying the Web20 style to your web sites.
White on White Web Design Style
An overview of my current super-clean design style that really lets the content stand out.
The 10 best-designed web sites in the world
My personal list of 10 favourite sites, and why.
8 Clean web site designs for inspiration
I love collecting links to sites that inspire me to push my own design further, and I thought I'd share my favourites to help inspire you too. The first set perfectly illustrates the core principles of pixel-saving in minimal, clean layouts that focus on the content.
8 Rich web site designs for inspiration
This bunch of sites are all graphcally intense, using a lot of pixels to create a rich experience that doesn't get in the way of successful communication.
9 Functional web site designs for inspiration
A varied group of excellent home page designs that are quite different, but manage to combine brand & functionality effectively on first view.
Clarity in web page design
Making a clear web page depends on making the most important elements appear important, less important stuff less important, related stuff look related, and different stuff look different.
Colour
General guidelines on how to use colour in web pages.
Contrast
The importance of tonal contrast in graphic design for the web
Effective text
Explores the strengths of using HTML text rather than words as graphics in web design
Imagery
How to use imagery to best effect
Attention Map
A low-fi tool for planning page layout, helping you plan what your page should do before you get your hands dirty
Content
Tips on creating effective content for your web pages
Zoom Your Content
Knowing how to size your content appropriately is a fundamental and critical basic skill. All is explained in this article.
Layout for web page design
Overview of the major graphic design devices
Containment
Containment is a layout tool that says visually This thing is part of that
Alignment
Using alignment in visual design for the web to associate related elements
Grouping
Associating elements through relative positioning in space
Rhythm and repetition
A further technique for associating elements is through repeating common styling
3D Effects in graphic design for the web
Guidelines on how to use 3D effects effectively in graphic design for the web
Branding
Tips for branding on the web
Logo design
The four attributes of an effective logo: shape, presence, weight, and contrast
Some Great Web Logos for Inspiration
Sharing my personal collection of almost 50 favourite logos gathered from round the web, with notes on what works & why.
Favourite logos
An older collection of my favourite logos from around the web, with analysis of why I think they work.
Real Web2.0 Design & Branding
Web 2.0 design is not the same as star flashes and shiny table effects - it's about simple, bold, honest brand experiences.
Case study: Artorg
Tweaking the layout to ehance the user experience of a nice community site for graphic artists
Case study: Business Improvement Network
Applies a totally new look and feel to the web site of a business networking organisation
Case study: Kemik's portfolio
Simplifying and enhancing an already attractive artist's portfolio to make it more engaging.
Case study: FairSay home page
A web doctor report for non-profit organisation's home page.
Case study: Media Volunteer
Simplifying and brightening the entry point for a charity application