Grouping elements for clear web page design
Grouping similar design elements on your web page helps the user quickly decode a web page layout.
Proximity, Alignment, Containment, Rhythm and Styling are all tools that help indicate grouping.
The power of proximity in web page layout
The simplest way to associate a number of elements is to group them together.
What grouping does is make similar things appear similar.
That way, the scanning eye can decipher a title (for example) and immediately associate that title with all the objects around it. By making similar things similar, grouping makes different things appear different. "Why are the objects in that group instead of the other group..? They must be different."
2D design uses a range of grouping techniques, from paragraphs and margins to navigation bars and clustered form elements.
As with other design tools, grouping with proximity relies on contrasting forces, in this case whitespace. If all elements are closely-spaced, proximity becomes less effective.
Simple example of grouping through promximity
These icons on designer Jakub "Jimmac" Steiner's site are clearly grouped into 2 sets using proximity, and subtle containment.
Web page grouping problem
Grouping needs whitespace, its opposing force, to exist. These navigation buttons are grouped so closely together, that the buttons and labels are equidistant, which would definitely confuse users.
Grouping form elements
All that has changed is the spacing between elements, and the form is suddenly really hard to interpret.
Multiple groups in a page layout
This example uses grouping and whitespace very effectively to identify related elements:
Here's the same screenshot, with groups marked on.

Top navigation works in an unusual 3x3 grid (also linked by style and alignment)
Left column shows 'other useful links'. They are grouped because there is more white space above and below the group than there is between the elements
The bulleted list is naturally grouped, as lists are normally padded with white space (also benefits from stylistic and alignment grouping)
Read it offline
Buy the entire Graphic Design section as a PDF e-book:
only £2.50 GBP
Questions about Web Design & Production?
Share your questions, thoughts, and ideas with the community over at Scratch Web Design Forums »- Recommended
- NEW Ebook "Save the Pixel - the Art of Simple Web Design"
- PSD to HTML
- Compare web hosts - speed, uptime, support etc...
- Professional Web Hosting $4.95
- Quality Ruby on Rails hosting - UK, recommended
- Custom logo design services
- Promote your business online for FREE
- Chat about web design our brand new discussion forum!
- Sell your your software, photos, music… with TradeBit (we do)

If you like Web Design from Scratch, you'll love our new ebook.


In this form, it's clear what each of the 2 radio buttons means ('Normal' & 'Simplified'), due to the proximity of each button with its label.
It's also obvious which field has the error in it, because of proximity.
Compare with what happens when I mess up the proximity.