Website Design: Page Anatomy and Layout

The Golden Ratio in Web Design

Math is beautiful. Does that sound a little strange? I sure thought so when I first started designing. Math is so rigid and often times boring, or so I thought. You would be surprised to find out that most aesthetically pleasing designs, works of art, objects and even people have math in common. Specifically the Golden Ratio, also known as the divine proportion, which is designated by the Greek letter Φ (phi). This tutorial will cover the anatomy and layout of a website and how the Golden Ratio relates.


1. Anatomy of a Web Page

The elements of a web page are like organs; they are vital to a properly functioning and aesthetically pleasing web page.

These are the main elements of a web page. There are many different ways to organize them but this is perhaps the most common basic layout used online.


2. Container

All web pages use a container and for the same purpose; to contain page elements, however the way it is accomplished varies. For example, the body tag or a div is most commonly used. In the past, even a table has been used (do not use a table as your page container, it is a depreciated method). Think of the container as the external walls of your house in which your bedrooms, kitchen, living room, etc. are then placed.

Types of container:

  1. Liquid: Expands to fill the width of the browser window.
  2. Fixed: A specific width you choose which does not change regardless of browser window size.


3. Header

The header isn’t really a specific element although some may consider it to be. It is more generally used in referring to the top section of your web page where your logo, navigation, tagline, etc. are located. Many people prefer to keep these elements contained within a div for easier page styling, element separation and/or element containment. The header would be considered a container so it would have two types to choose from: liquid or fixed as mentioned above.


4. Logo

Your logo is your identity and branding. The most common placement for the logo is within the header, aligned left. We read from left to right, top to bottom, so your logo will most likely be the first element your visitors look at.


5. Navigation

Page navigation is one of the most important elements; your visitors need it to use your website. It should be easy to find and use, which is why it is almost always located within the header or at least near the top of the page. Sometimes both types of navigation are used for high content websites.

Types of navigation:

  1. Horizontal: A series of links displayed inline, usually referred to as “navigation”.
  2. Vertical: A series of links displayed as a vertical stack, usually referred to as “menu”.


6. Main Content

As everyone knows (or should), content is king! When people visit your site, this is the element they will be looking for primarily. It should be the main focal point of a web page so visitors find what they are looking for quickly.


7. Sidebar

The sidebar is the element with your secondary content such as advertising, site search, subscription links (RSS, Twitter, Email, etc), contact methods, etc. This element isn’t necessary although many websites use it. It is most often right aligned but can be left aligned or both (two sidebars) so long as it doesn’t disrupt main content viewing. For websites that use horizontal AND vertical navigation, the sidebar is often replaced with the vertical navigation element.


8. Footer

The end of a web page should always use a footer to let your visitors know they have reached the completion of your web page. Like the header, the footer isn’t really a specific element but more of a containing section. Within your footer will be copyright, legal and contact information primarily. It’s a good idea to include a few links to the most important sections of your site such as the top of the page, home page, contact page, etc. Some websites use this area as an opportunity to mention related material or other important information.


9. “Whitespace”

This is any area of the web page that is not covered by typography or other content. You may feel the strong urge to fill as much empty space as possible but don’t do it! Empty space is just as important to a good web page design as the content to be used. You can see how the NetTuts site uses empty space very effectively to help guide visitors through content, create page balance and give a good sense of content separation.

So that covers the anatomy of a web page. Now lets take a look at how the Golden Ratio relates to these elements.


10. The Golden Ratio and Using Grids

Remember earlier when I said math was beautiful? We perceive visual appeal based on ratio (i.e. The Golden Ratio). For thousands of years artists, designers, architects, etc. have either intentionally or unintentionally used a common ratio in their work that is aesthetically pleasing. What is the magic number? 1.62 (actually 1.618…) I won’t get into the origins of this number but I will tell you how to use it.

Using the golden ratio is very simple. Lets say you want to find the width of your Main Content and Sidebar columns. You would take the total width of your content area (we’ll use 900px for this example) and divide that by 1.62. As shown in the example above we divide 900px by 1.62 and get 555.55px. We don’t need to be exact so we will round it off to 555px. Now you know your main content element will be 555px wide and your sidebar will be 345px! How easy is that?!

But wait! The fun doesn’t stop there. You can also apply the Golden Ratio to other element’s width in relation to its height or vice-versa. This produces aesthetically pleasing elements with the Golden Ratio proportions.


11. Using Grids

If you’re like most people though, you won’t want to pull out a calculator every time you want to use this ratio. To simplify the process, we can use a simple grid. All you do is divide your width and/or height by thirds.

Each division can be even further reduced by thirds, producing a more detailed grid. If you read the previous article “A Close Look At the Blueprint CSS Framework” you will see that the Blueprint CSS framework uses a detailed grid system. Not only does the grid make designing easier and faster but also it creates an aesthetically pleasing layout! If you aren’t already using a grid when designing, now may be a good time to give it a try. You can download a grid template for fireworks, photoshop and more from http://960.gs, which is another fantastic CSS framework that uses grids.

As you can see, NetTuts abides by the Golden Ratio quite well. The top one third of the page is divided again into thirds to show how even the header section breaks down into smaller increments of thirds, very close to the Golden Ratio. No wonder why the NetTuts design is so appealing!

If you’re new to design I highly encourage you to find some popular sites, evaluate their element layout and how it abides by the Golden Ratio and grids. Then take some time to practice using the Golden Ratio with your elements and placing them in your layout using a grid.

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • Pingback: Best Practices for Content Optimization | Law Firm Internet Marketing

  • Pingback: Webtopia » Uncategorized » Best Practices for Content Optimization

  • Pingback: Econs.net Blog » Blog Archive » Best Practices for Content Optimization

  • Pingback: Econs.net Blog » Blog Archive » Best Practices for Content Optimization

  • Pingback: My Re-envisioned Home Page « The Passion of the Programmer

  • http://caffeineinjection.wordpress.com Caffeine Injection

    Very simple. Thanks. I bookmarked this as a standard for layouts.

  • Pingback: Web Width?

  • Pingback: Enlaces para leer y ver 102 « el50

  • Pingback: Enlaces para leer y ver 102 | Mantis Technology Solutions Blog

  • Pingback: Best Practices for Content Optimization : india sem

  • Pingback: Web设计中的黄金分割 - 左岸读书_blog

  • Pingback: Best of Week (+/-) #2 | Insel der Engel'

  • Pingback: Heads Up Seven Up Blogroll - December 29 :PbP Tutorials

  • Pingback: La secció àuria en disseny web at terra.meddia

  • Pingback: #002 Tutorial of the day « Creative Space

  • http://www.sindustries.co.uk sindustries

    Golden Ratio’s and working with grids really help with making pro like layouts :)

  • VooDoo

    Before readeing this article, please read Brett Comments!!

  • http://ppcroi.referguson.com R.E. Ferguson

    A very thorough and analytical approach to web design.

  • Pingback: Weekly Good Stuff! | hiphopsideproject

  • Rene Sapp

    Great article, thanks.

  • http://www.777designz.com ChiangMaiWebDesign

    very nice!

  • Pingback: Useful Links for Web Designer « Chiang Mai Web Design

  • steve

    This isn’t really the golden ratio. It a a simplified version of the rule of thirds. However the rule of thirds is not a rule for how to build out a grid(neither is the golden ratio). It supposed to reflect were you compositions point of interest are, were you want people to focus. With both of these systems the points of focus should fall on the intersecting points. The idea is that people eye will be drawn naturally to those point so that is were you would put content that you want people to focus on. Using it to define your grid breaks that (except for maybe some of your headers).

    For example the rule of thirds applied to a photograph would have you divide your composition into a grid of 3×3, and you are to put the subject you want to focus on at one if the intersecting points, It is not something to be used to define distinct regions of content.

    When I was learning layout theory, a general rule used that grids of odd numbers were more pleasing that those of even. Mainly 3 columns should be more pleasing to the eye the 2 or 4. Which seems to be what this article really is talking about.

    Anyway, just my opinion.

  • Pingback: Best Practices for Content Optimization

  • Pingback: Best Practices for Content Optimization « Voluntourism Gal

  • Pingback: From the blogs - dynamic maps on the web, visualizing baby names, and your grandma’s on twitter | Written By All Of Us | A Slack Barshinger Blog

  • http://www.sakinaautos.com Aaqib

    Thankd

  • http://webdesignpuertorico.com Luis Rivera

    Nice i really seeking article like this

  • webrsai

    nice article .its really help for me.thnx

  • Pingback: Proporzioni auree per il design « il blog di h-umus

  • http://scarfoo.com Scarf*oo

    Another great article I stumbled upon.

  • http://www.miraztutorials.com huwaw69

    This is somewhat confusing but really a good help…

  • http://www.phpform.org/ Setiawan

    Very well done article. Thank you.

  • Polundra

    Thanks for this article. Perhaps also useful http://www.gridsystemgenerator.com/

  • Pingback: In the Woods - Tips For Creating High Selling Templates

  • http://www.designstudio16.com saurabh shah

    nice article thought i don’t follow and limited myself with fixed ratios …

  • http://mcofcs.co.cc/ emili

    That was a nice read

  • http://soluwebcolombia.com Miguel

    Nice article. its a great guide for a website design.

  • http://www.gogusestetigi.tr.gg/ göğüs estetiği

    i like this site. i added on my bookmark i thanks

  • http://www.bestpillsweightloss.com charley

    that was some sort of good solution – there are some other good solutions available into the market but this sems to be the best so far.. .

  • http://eluhealthcare.blogspot.com/ Health Care

    that was some sort of good solution – there are some other good solutions available into the market but this sems

    to be the best so far.. .
    Quite a week, indeed.-Online Sports

    Quite a week, indeed.-Health Care

  • http://eluhealthcare.blogspot.com/ charley

    Quite a week, indeed. -Beauty solutions

  • http://selfwreck.blogspot.com joe

    great article, very useful..keep up the good work…

    regards
    joe

  • http://baghdadbattery.wordpress.com Aidil

    Everything in this universe follows a system. and indeed webdesign too, follows a system.

    I read some above posts that say that following these systems, e.g. the golden ratio, severely limits creativity and shunts originality…

    Here’s a different perspective… do you see any 2 trees of the same species being exactly alike? Or do you see 2 people looking and acting exactly the same? Both tree and human are created/evolved based on their same frameworks…Yet both tree and human are on their own unique in each n every way..

    Hmmm

    • http://wasims.com Wasim

      This is a brilliant post. When I graduated with a digital design degree in 2008 this subject was included in my final dissertation together with the importance of symmetry. Think about how we’re all surrounded by Symmetry, so much so that we couldn’t ignore it even if we tried.

      Being surrounded by something and being exposed to the same visual elements every single day of our lives results in being influenced to or large degree. Using Symmetry and the golden ratio works so well it is almost impossible to comprehend to what extent it works well. Everything in nature looks beautiful and like someone mentioned in the above post that two different natural creations are so unique and yet they are designed from the same principles.

      Excellent post by the way !!

  • http://www.maxabtsoftware.blogspot.com/ jack

    Thanks for sharing your valuable thoughts.

  • http://www.bulwarkpestcontrol.com/lasvegaspestcontrol.php pest

    I have been reading your blog last couple of weeks and enjoy every bit. Thanks.

  • http://www.gachisites.com/ Design

    Small Business Website and Small Business Web Design. Whether you’re a small

    business, non-profit, club or individual, we can build you a powerful site in no time.

  • http://www.acne-reviews.org/ Acne

    wawo, wonderful images. it is great to see. i think it is photo shoped, but it’s amazing .

  • http://www.b2bcfo.com/forensic_accounting/expert_witness.html expert witness

    wow, wonderful images. it is great to see. i think it is photo shoped, but it’s amazing .
    That’s really a fantastic post ! i added to my favorite blogs list..

  • http://www.peakanddale.com josphat

    Nice works.Keep up.Even God calculate may be using pi to create this Universe.I love it and I will use it as a basic fundamental.I’m a beginner in web design and I need helpful stuff like this