Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I would use <code>display: inline-block;</code> rather than <code>float: left;</code> personal preference I suppose, but when possible I try to avoid messing with the document flow (which can cause problems like what you're seeing).</p> <p><strong><a href="http://jsfiddle.net/HbjtG/5/" rel="nofollow">Working Example</a></strong></p> <pre><code>#wrapper { width: 80%; margin: 0 auto; padding: 10px; background-color: #666; color: white; min-width: 722px; max-width: 1119px; font-family:'Roboto Condensed', sans-serif; box-shadow: 0px 0px 25px black; } .col { width: 24%; /*background-color: red;*/ display:inline-block; margin-top: 0; vertical-align:top; } #col2 { width: 48%; box-shadow: 0px 0px 5px black; } p { text-align: justify; margin-left: 5%; margin-right: 5%; } img { margin-top: 10px; display: inline-block; padding: 5%; } ul { text-align: justify; margin-left: -5%; margin-right: 5%; } #col2 h1 { line-height: 1em; text-align: left; padding: 2.5%; margin-top: 0; margin-bottom: 0; background-color: #444; border-bottom: solid 1px black; cursor: pointer; text-shadow:0px 0px 6px black; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #col2 ul { list-style: none; margin-left:-2.5%; } .col em { color:#000; cursor: pointer; } .col em:hover { text-decoration: underline; } #homepageButton { width: 50px; height: 50px; left: 15px; bottom: 0; position: fixed; background-color: #444; margin-bottom: 0; box-shadow: 0px 0px 5px black; padding: 5px; text-align: center; } #homepageButton a { text-decoration: none; color: #fff; text-shadow:0px 0px 6px black; } #homepageButton a:hover { text-decoration: underline; } * { -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; } </code></pre> <p>I also added <code>box-sizing: border-box;</code> to everything... see: <a href="http://www.paulirish.com/2012/box-sizing-border-box-ftw/" rel="nofollow">Paul Irish's explanation for that</a></p>
    singulars
    1. This table or related slice is empty.
    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. This table or related slice is empty.
    1. 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