Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS Build a Simple Website Styling Content Fonts and Colors

Harsh Ahuja
Harsh Ahuja
2,618 Points

Grid-Omega

Omega which I used in my website while watching a video is not working, Everything is reflecting on the left hand side Plz help me out

3 Answers

Harsh Ahuja
Harsh Ahuja
2,618 Points

If you run the below code the pictures are not coming on the right hand side. I want to say that the right margin should be zero as shown in video,There should be no space left on the right hand side,even the "grids" are in combination of 12 ending with "omega"

example -at my website

picture

picture

contact us

contact us

It should be-like in video

picture picture

contact us contact us

Harsh Ahuja
Harsh Ahuja
2,618 Points

<!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Smells like Bakin 'Cupcake company</title> <link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen"> <link rel="stylesheet" href="css/grid.css" type="text/css" media="screen"> <link href='http://fonts.googleapis.com/css?family=Nunito' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/style.css" type="text/css" media="screen"> </head> <body> <div class="container clearfix"> <div class="grid_4"> <img src="img/logo.gif" alt="Smells Like Bakin"> </div> <div class="grid_8 omega">
<ul class="nav"> <li><a href="#">About</a></li> <li><a href="#">CupCakes & Prices</a> </li> <li><a href="#">Locations</a></li> <li class="last"><a href="#">Contact Us</a></li>
</ul>
</div> <div id="intro" class="grid_9"> <h1>We combined expected flavours to create ironically delicious deserts</h1> <p><a href="#" class="btn">Browze Cupcakes</a></p> </div> <div class="grid_3 omega"> <img src="img/you-bake-me-blush.gif" alt="YOU Bake Me Blush"> </div>

<div id="featured cupcake" class="grid_7">
    <h2>Cupcake of the week</h2>
    <p>This week featured cupcake is the <a href="#">Avocado chocolate cupcakes</a>.It will kick your taste buds into fiesta mode!</p>
    <img src="img/featured-cupcake.jpg" alt="Avocado Chocolate Cupckake"    
</div>

<div id "new cup cakes" class="grid_5 omega">
    <h2>Fresh out of the oven</h2>
    <p>Our new cupcakes are<a href="#">Bacon me crazy</a> and <a href="#"><a href="#">jalapeno so spicy</a></p>
    <img src="img/new-cupcake-bacon.jpg" alt="bacon me crazy">
    <img src="img/new-cupcake-Jalapeno.jpg" alt="jalapeno so spicy">
</div>

<div class="grid_7">
    <h2>inside the kitchen</h2>
    <p>Smells llike bakin started in a Garage of the husband wife duo Ho &amp; ko,They were so fond of food that they started there own company,as they planned in there college days</p>
    <p><a href="#" class="btn-small">Read more</a></p>
</div>

<div class="grid_5 omega">
    <h2>Get bakin with us</h2>
<div id="contact">
    <p>call us <span>1-555-CUP-CAKE</span><br>
    Email us: <a href="#">bakeon@Smellslikebakin.com</a></p>
</div>

    <p>We anounce all our new flavours through Facebook &amp; Twitter</p>
    <a href="http://www.facebook.com/smells like bakin"><img src="img/facebook.gif"></a>
    <a href="http://www.twitter.com/smells like bakin"><img src="img/twitter.gif"></a>  
</div>

<div id="copywright" class="grid_12">
    <p>&copy; 2012 smells like bakin' Cupcake company.All rights reserved.</P>
</div>

</div> </body> </html>