Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You're missing the <code>alpha</code> and <code>omega</code> classes that remove the margin from the left and right elements respectively.</p> <p>The HTML should look like this:</p> <pre><code>&lt;div class="header"&gt; &lt;div class="two-thirds column alpha"&gt; &lt;div class="logo"&gt;&lt;img src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQNGEBMvQ55sHEC0xWxvpkyW-H_ZylS9Fk5ktg3OLKLS3w6yCr29w" width="47" height="36"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="one-third column omega"&gt; &lt;div class="nav"&gt; &lt;ul&gt;&lt;li&gt;&lt;a href="hire.html"&gt;hire&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="bio.html"&gt;Bio&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="contact.html"&gt;Contact&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="blog.html"&gt;blog&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>Here's a Code Pen with the example code: <a href="http://cdpn.io/rHBio" rel="nofollow">http://cdpn.io/rHBio</a></p> <p><strong>EDIT</strong></p> <p>To explain further (even after the downvote #bitter).</p> <p>The reason you have the navigation on two separate lines is because after the following media query the container and all of the columns are set to 300px.</p> <pre><code> @media only screen and (max-width: 767px) { .container { width: 300px; }} </code></pre> <p>There is another media query that overrides that one for any devices between 480px and 767px and gives a width of 420px.</p> <pre><code> @media only screen and (min-width: 480px) and (max-width: 767px) { .container { width: 420px; } </code></pre> <p>Because the classes used, <code>two-thirds</code> and <code>one-third</code>, are now set to either 420px or 300px there they take up the entire row (they become stacked/linear).</p> <p>To override this and have them on the same line you will need to target those elements through additional CSS rules to reduce their width to 100/200px or 120/300px to fit in with the media queries.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload