質問

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?

役に立ちましたか?

解決

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

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

他のヒント

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top