9 Essential Principles for Good Web Design

Web design can be deceptively difficult, as it involves achieving a design that is both usable and pleasing, delivers information and builds brand, is technically sound and visually coherent.

Add to this the fact that many Web designers (myself included) are self-taught, that Web design is still novel enough to be only a side subject in many design institutions, and that the medium changes as frequently as the underlying technology does.

So today I’ve put together my 9 principles for good Web design. These are only my opinions and I’ve tried to link off to more reading on subjects so you don’t only hear my voice. Obviously, I have lots of disclaimers: rules are made to be broken, different types of design work differently, and I don’t always live up to my own advice. So please read these as they are intended–just some observations I am sharing…

Capture the Valley uses bars of color to guide your eye through sections from top to bottom…

1. Precedence (Guiding the Eye)

Good Web design, perhaps even more than other type of design, is about information. One of the biggest tools in your arsenal to do this is precedence. When navigating a good design, the user should be led around the screen by the designer. I call this precedence, and it’s about how much visual weight different parts of your design have.

A simple example of precedence is that in most sites, the first thing you see is the logo. This is often because it’s large and set at what has been shown in studies to be the first place people look (the top left). his is a good thing since you probably want a user to immediately know what site they are viewing.

But precedence should go much further. You should direct the user’s eyes through a sequence of steps. For example, you might want your user to go from logo/brand to a primary positioning statement, next to a punchy image (to give the site personality), then to the main body text, with navigation and a sidebar taking a secondary position in the sequence. 

What your user should be looking at is up to you, the Web designer, to figure out. 

To achieve precedence you have many tools at your disposal:

  • Position — Where something is on a page clearly influences in what order the user sees it.
  • Color — Using bold and subtle colors is a simple way to tell your user where to look.
  • Contrast — Being different makes things stand out, while being the same makes them secondary.
  • Size — Big takes precedence over little (unless everything is big, in which case little might stand out thanks to Contrast)
  • Design Elements — if there is a gigantic arrow pointing at something, guess where the user will look?

Further Reading:

You can read more of my thoughts on Precedence in an old Psdtuts+ post called Elements of Great Web Design – the polish. Joshua David McClurg-Genevese discusses principles of good web design and design at Digital-Web. Joshua also has the longest name ever 🙂

Marius has a very clean, very simple site with plenty of space

2. Spacing

When I first started designing I wanted to fill every available space up with stuff. Empty space seemed wasteful. In fact the opposite is true.

Spacing makes things clearer. In Web design there are three aspects of space that you should be considering:

  • Line Spacing
    When you lay text out, the space between the lines directly affects how readable it appears. Too little space makes it easy for your eye to spill over from one line to the next, too much space means that when you finish one line of text and go to the next your eye can get lost. So you need to find a happy medium. You can control line spacing in CSS with the ‘line-height’ selector. Generally I find the default value is usually too little spacing. Line Spacing is technically called leading (pronounced ledding), which derives from the process that printers used to use to separate lines of text in ye olde days — by placing bars of lead between the lines.
  • Padding
    Generally speaking text should never touch other elements. Images, for example, should not be touching text, neither should borders or tables.
    Padding is the space between elements and text. The simple rule here is that you should always have space there. There are exceptions of course, in particular if the text is some sort of heading/graphic or your name is David Carson 🙂 But as a general rule, putting space between text and the rest of the world makes it infinitely more readable and pleasant.
  • White Space
    First of all, white space doesn’t need to be white. The term simply refers to empty space on a page (or negative space as it’s sometimes called). White space is used to give balance, proportion and contrast to a page. A lot of white space tends to make things seem more elegant and upmarket, so for example if you go to an expensive architect site, you’ll almost always see a lot of space. If you want to learn to use whitespace effectively, go through a magazine and look at how adverts are laid out. Ads for big brands of watches and cars and the like tend to have a lot of empty space used as an element of design.

Further Reading:

At WebDesignFromScratch there is a great article called the Web 2.0 how-to design guide, which discusses Simplicity – a concept that makes a lot of use of spacing. There’s plenty of other useful stuff there too!

Noodlebox does a good job of using on/off states in their navigation to keep the user oriented.

Advertisement

3. Navigation

One of the most frustrating experiences you can have on a Web site is being unable to figure out where to go or where you are. I’d like to think that for most Web designers, navigation is a concept we’ve managed to master, but I still find some pretty bad examples out there. There are two aspects of navigation to keep in mind:

Navigation — Where can you go?
There are a few commonsense rules to remember here. Buttons to travel around a site should be easy to find – towards the top of the page and easy to identify. They should look like navigation buttons and be well described. The text of a button should be pretty clear as to where it’s taking you. Aside from the common sense, it’s also important to make navigation usable. For example, if you have a rollover sub-menu, ensuring a person can get to the sub-menu items without losing the rollover is important. Similarly changing the color or image on rollover is excellent feedback for a user.

Orientation — Where are you now?
There are lots of ways you can orient a user so there is no excuse not to. In small sites, it might be just a matter of a big heading or a ‘down’ version of the appropriate button in your menu. In a larger site, you might make use of bread crumb trails, sub-headings and a site map for the truly lost.

Further Reading:

SmashingMagazine has a selection of CSS-based navigation styles which are nice to go through, and #3 is one of mine! A List Apart also has a good article about orientation called Where Am I?

4. Design to Build

Life has gotten a lot easier since Web designers transitioned to CSS layouts, but even now it’s still important to think about how you are going to build a site when you’re still in Photoshop. Consider things like:

  • Can it actually be done?
    You might have picked an amazing font for your body copy, but is it actually a standard HTML font? You might have a design that looks beautiful but is 1100px wide and will result in a horizontal scroller for the majority of users. It’s important to know what can and can’t be done, which is why I believe all Web designers should also build sites, at least sometimes.
  • What happens when a screen is resizes?
    Do you need repeating backgrounds? How will they work? Is the design centered or left-aligned?
  • Are you doing anything that is technically difficult?
    Even with CSS positioning, some things like vertical alignment are still a bit painful and sometimes best avoided.
  • Could small changes in your design greatly simplify how you build it?
    Sometimes moving an object around in a design can make a big difference in how you have to code your CSS later. In particular, when elements of a design cross over each other, it adds a little complexity to the build. So if your design has, say three elements and each element is completely separate from each other, it would be really easy to build. On the other hand if all three overlap each other, it might still be easy, but will probably be a bit more complicated. You should find a balance between what looks good and small changes that can simplify your build.
  • For large sites, particularly, can you simplify things?
    There was a time when I used to make image buttons for my sites. So if there was a download button, for example, I would make a little download image. In the last year or so, I’ve switched to using CSS to make my buttons and have never looked back. Sure, it means my buttons don’t always have the flexibility I might wish for, but the savings in build time from not having to make dozens of little button images are huge.

If anyone knows good type it’s iLoveTypography!

5. Typography

Text is the most common element of design, so it’s not surprising that a lot of thought has gone into it. It’s important to consider things like:

  • Font Choices — Different types of fonts say different things about a design. Some look modern, some look retro. Make sure you are using the right tool for the job.
  • Font sizes —Years ago it was trendy to have really small text. Happily, these days people have started to realize that text is meant to be read, not just looked at. Make sure your text sizes are consistent, large enough to be read, and proportioned so that headings and sub-headings stand out appropriately.
  • Spacing — As discussed above, spacing between lines and away from other objects is important to consider. You should also be thinking about spacing between letters, though on the Web this is of less importance, as you don’t have that much control.
  • Line Length — There is no hard and fast rule, but generally your lines of text shouldn’t be too long. The longer they are, the harder they are to read. Small columns of text work much better (think about how a newspaper lays out text).
  • Color — One of my worst habits is making low-contrast text. It looks good but doesn’t read so well, unfortunately. Still, I seem to do it with every Web site design I’ve ever made, tsk tsk tsk.
  • Paragraphing — Before I started designing, I loved to justify the text in everything. It made for nice edges on either side of my paragraphs. Unfortunately, justified text tends to create weird gaps between words where they have been auto-spaced. This isn’t nice for your eye when reading, so stick to left-aligned unless you happen to have a magic body of text that happens to space out perfectly.

Further Reading:

Nick La at WebDesignerWall has a great article about online typography called Typographic Contrast and Flow .

Happycog know usability inside out, and their own site is simple and easy to use.

6. Usability

Web design ain’t just about pretty pictures. With so much information and interaction to be effected on a Web site, it’s important that you, the designer, provide for it all. That means making your Web site design usable.

We’ve already discussed some aspects of usability – navigation, precedence, and text. Here are three more important ones:

  • Adhering to Standards
    There are certain things people expect, and not giving them causes confusion. For example, if text has an underline, you expect it to be a link. Doing otherwise is not good usability practice. Sure, you can break some conventions, but most of your Web site should do exactly what people expect it to do!
  • Think about what users will actually do
    Prototyping is a common tool used in design to actually ‘try’ out a design. This is done because often when you actually use a design, you notice little things that make a big difference. ALA had an article a while back called Never Use a Warning When You Mean Undo, which is an excellent example of a small interface design decision that can make life suck for a user.
  • Think about user tasks
    When a user comes to your site what are they actually trying to do? List out the different types of tasks people might do on a site, how they will achieve them, and how easy you want to make it for them. This might mean having really common tasks on your homepage (e.g. ‘start shopping’, ‘learn about what we do,’ etc.) or it might mean ensuring something like having a search box always easily accessible. At the end of the day, your Web design is a tool for people to use, and people don’t like using annoying tools!

Further Reading:

AListApart has lots of articles on web usability.

Electric pulp manages to look rough, but if you look closely you realize there is a firm grid and things actually all line up.

7. Alignment

Keeping things lined up is as important in Web design as it is in print design. That’s not to say that everything should be in a straight line, but rather that you should go through and try to keep things consistently placed on a page. Aligning makes your design more ordered and digestible, as well as making it seem more polished.

You may also wish to base your designs on a specific grid. I must admit I don’t do this consciously – though obviously a site like Psdtuts+ does in fact have a very firm grid structure. This year I’ve seen a few really good articles on grid design including SmashingMagazine’s Designing with Grid-Based Approach & A List Apart’s Thinking Outside The Grid. In fact, if you’re interested in grid design, you should definitely pay a visit to the aptly named themecentury.com home to all things griddy.

The ExpressionEngine site is the soul of clarity. Everything is sharp and clean.

8. Clarity (Sharpness)

Keeping your design crisp and sharp is super important in Web design. And when it comes to clarity, it’s all about the pixels.

In your CSS, everything will be pixel perfect so there’s nothing to worry about, but in Photoshop it is not so. To achieve a sharp design you have to:

  • Keep shape edges snapped to pixels. This might involve manually cleaning up shapes, lines, and boxes if you’re creating them in Photoshop.
  • Make sure any text is created using the appropriate anti-aliasing setting. I use ‘Sharp’ a lot.
  • Ensuring that contrast is high so that borders are clearly defined.
  • Over-emphasizing borders just slightly to exaggerate the contrast.

Further Reading:

I wrote a bit more about clarity in Elements of Great Web Design – the polish. I’ve noticed that print designers transitioning to Web design, in particular, don’t think in pixels, but it really is vital.

Veerle does a great job of keeping even the tiniest details consistent across the board.

9. Consistency

Consistency means making everything match. Heading sizes, font choices, coloring, button styles, spacing, design elements, illustration styles, photo choices, etc. Everything should be themed to make your design coherent between pages and on the same page.

Keeping your design consistent is about being professional. Inconsistencies in a design are like spelling mistakes in an essay. They just lower the perception of quality. Whatever your design looks like, keeping it consistent will always bring it up a notch. Even if it’s a bad design, at least make it a consistent, bad design.

The simplest way to maintain consistency is to make early decisions and stick to them. With a really large site, however, things can change in the design process. When I designed FlashDen, for example, the process took months, and by the end some of my ideas for buttons and images had changed, so I had to go back and revise earlier pages to match later ones exactly.

Having a good set of CSS stylesheets can also go a long way to making a consistent design. Try to define core tags like <h1> and <p> in such a way as to make your defaults match properly and avoid having to remember specific class names all the time.

On the Facebook Like button, and why it’s awful.

In Company of One, around page 8, I wrote:

It was a hackathon that led to the creation of Facebook’s “Like” button, which arguably connects its ecosystem to the rest of the internet.

It seems like a fairly innocuous sentence. While it’s factually true and fits into the overarching story, there’s a huge failure by omission on my part.

What I failed to mention is that the Like button is awful. It’s an awful feature from an awful company, from an awful type of product, run by horribly awful leadership. Let me explain.

First, Facebook keeps getting into hot water because of the lines they’re willing to cross to make money. It’s not just Facebook, most massive (tech) companies do it, but it’s easy to single them out because they’ve made so many morally gross decisions. Like selling user data, exploiting teens who are feeling anxious or insecure, and even paying teens a pittance to watch and track their every move online. And, this is just what they’ve been caught doing. Who knows what they’ve gotten or are currently getting away with? Even with the bad PR, Facebook’s profit is unscathed, showing that we’re willing to trade our privacy and data for “free” use of their platform.

Second, the Like button specifically creates intermittent reinforcement to heighten our desire for social approval. This has been studied numerous times by behavioural psychologists, as a way to shortcut our dopamine system and make us take part in that behaviour far more than we should. As in, wanting social approval is a deep human need (we’re social creatures) and getting it at random intervals from people liking our status updates on platforms like Facebook, keep us anxious and compulsively seeking more.

Studies are finding that on average we spend 4 hours a day on our phones, checking them every 12 minutes—on vacation (it’s far more if it’s a work day). A lot of this has to do with “social” media platforms being built specifically to encourage checking them as often as possible for those bursts of dopamine.

Third, these platforms being called “social platforms” or “social media” seem to be a huge misnomer. Research indicates using them increases—not decreases—loneliness and depression. The Like button specifically heightens anxiety and decreases feelings of self-worth. We use these platforms because we seek validation and human acknowledgement and interaction, but never get it. So we come back (at least every 12 minutes). Looking for self-worth on these platforms is a false dichotomy—how can we increase “self” from external factors? How we can place any part of worth in the number of clicks we get on a heart after our updates?

Facebook’s own former president, Sean Parker, said their platform was “exploiting vulnerability in human psychology”. Facebook is easy to point at but every other platform like theirs, from Twitter to their Instagram, works the same way. Sean continued, “The short-term, dopamine-driven feedback loops we’ve created are destroying how society works.”

Interactions on these platforms feel like social interaction but since they’re not we continue to crave it and continue coming back. They shouldn’t be called “social networks” because they’re more exploitive than social. “Exploitive networks” sounds harsh, but it’s more honest.

Which begs the question, what do we do now?

Exits en masse sound great, as do digital detoxes, but going back to a Luddite life without tech seems a touch too far. Personally, I’ve spent years thinking about this subject. I don’t want to support or use platforms that are detrimental not only to my own mental health but to our greater social fabric. So I’m not on Facebook or Instagram. But I do use and enjoy Twitter (mostly because I use the platform to start conversations that continue off of Twitter). I really don’t have the answer to how we should deal with or use these platforms.

My favourite take on acknowledging and existing in a world where “social” media exists is from Farhad Manjoo of the New York Times. He suggests we do three things to deal with any new platform (or technology) that comes out.

  1. Look at the business model, not just the product. If they don’t charge the users, they’re making money some other way. Probably selling the data you’re freely giving them. So before joining another network or picking up a new piece of tech, consider how and where the money flows.
  2. Stop feeding giants. Players in any market or industry that create monopolies undermine consumer choice and ruin innovation. But also, it’s harder to be moral or ethical if you’re required to rapidly grow and dominate at all costs (I wrote a whole book about this, as you probably remember).
  3. Slow down. Early adopters of anything don’t have the full story, full picture, or know the ramifications of using something. Plus, early versions of anything tend to be filled with bugs and security issues. Adopt new tech and platforms late, only after more information is available.

I would add a final point, specifically in regards to “social media” and that’s to be aware. Specifically, be aware of:

  • If you’re happier or sadder after using a platform.
  • How often you’re using the platform, and if any free second you have defaults your behaviour to check in or refresh.
  • If you’re feeling anxious when you’re not using the platform and why.
  • If it’s sparking joy. Just kidding, but be aware of what benefits, if any, you’re getting from the platform.
  • How you can use the platform as a tool for what you need, and not let it use you simply as a data-product to line its coffers.

These platforms like Facebook, with their “Like” buttons could easily save the world by connecting us all and showing us how similar we all are. Or, they could ruin democracy and everything good that exists, and turn us all into compulsive labourers of their technology, mindlessly feeding personal data to the algorithms for access, pulling their slot machines again and again.

If we’re craving human interaction, maybe we should stop looking for it through likes and what the algorithm gives us. Maybe instead of constantly wanting to refresh or check in we can slow down and listen. Maybe instead of using every free minute or every bit of space in the day we can relish in the beauty of actual solitude. Maybe having regular and lengthy doses of giving ourselves the space to think could be crucial for resilience, introspection and even creative insight.

And, maybe, instead that line in my book should read:

It was a hackathon that led to the creation of Facebook’s “Like” button, which arguably gives us more anxiety than we need and drives detrimentally compulsive behaviour, exploiting our freedom.

It doesn’t flow as nicely in the overarching story, but it’s a lot more accurate.