Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Using 960.gs grid separating images


I can't get images to show up next to each other. I put them in a div with different and also tried the same grid_3 name but only 1 picture is showing up.

http://www.sunnysihota.com/ Only 1 pic shows up and the footer shows up where the 2nd column/2nd image is supposed to show up instead of at the footer area even while naming it grid_12 which is supposed to make it 12 columns (i.e. all the way across the screen)

Here's the code:

    $pageTitle = "Lao Vientiane Catering";

    <link rel="stylesheet" type="text/css"     href="css/960_12_col.css" />
    <link rel="stylesheet" type="text/css"     href="css/style.css" />


    <div class="container_12" clearfix">
    <div id="header" class="grid_12">
            <h1>Lao Vientiane Catering</h1>
                <div id="nav">
                        <li><a     href="sunnysihota.com/Lao">Home</a></li>
                        <li><a     href="sunnysihota.com/Lao/Menu">Menu</a></li>
                        <li><a     href="sunnysihota.com/Lao/Contact">Contact</a>    </li>
                        <li><a     href="sunnysihota.com/Lao/About">About</a></li>
    <div class="images grid_4">
        <img src="img/ss_02.png" title="Lao Food"     width="215" height="215" />
    <div class="images grid_4"
        <img src="img/ss_04.png" title="Lao Food"     width="215" height="215"/>
<div class="images grid_4"
    <img src="img/ss_06.png" title="Lao Food" width="215" height="215"/>
<div id="footer" class="grid_12">
    <p>&copy; Copyright 2013</p>


Any help greatly appreciated

2 Answers

James Barnett
James Barnett
39,199 Points

I noticed 2 issues

  • You've got an extra " in the middle of a class attribute there.
    • <div class="container_12" clearfix">
  • You forgot the closing > on 2 of your div tags
    • <div class="images grid_4"

Thanks for the help James!