Frage

This is the very first time i am trying use skeleton css. Before this I used to use Blueprint css. I am trying a very simple code, but it's not working. Here is my code.

<div class="container">
    <section class="two-thirds column" style="border: 1px solid black;">
        2-3
    </section>

    <section class="one-third column">
        1-3
    </section>
</div>

It seems that both the sections are taking the entire width of the page. Am I doing something wrong with my code or is my concept wrong?

War es hilfreich?

Lösung

Assuming you're using http://www.getskeleton.com/

<div class="container">
  <div class="nine columns alpha"></div>
  <div class="three columns omega"></div>        
</div>

Andere Tipps

Your code looks correct. Are you sure you are linking to all of the stylesheets? You need to be accessing base.css for the columns to work correctly.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top