title: Padding not being applied to element inside container element?
body: <p><strong>Requirements</strong></p>
  
  <p>I'm essentially trying to replicate the webpage output for this <a href="https://courses.cs.washington.edu/courses/cse154/16wi/homework/2/spec.pdf" rel="nofollow">assignment</a>. Pictures used in webpage are <a href="https://webster.cs.washington.edu/images/" rel="nofollow">here</a>. That's basically my ultimate goal in all of this, getting this webpage as close to the desired output as possible. </p>
  
  <p>All of the style must be implemented in CSS. The only HTML tags I can use are organizational ones.</p>
  
  <p><strong>Problem</strong></p>
  
  <p>The formatting and spacing with the webpage that I'm trying to create and replicate is unexpectedly wrong.</p>
  
  <p>Each of the text bubbles is supposed to be separated by 20pts of vertical distance. This is something I've attempted to implement in CSS like so:</p>
  
  <pre><code>.reviewer-text {
      padding-bottom: 20pt;
  }
  </code></pre>
  
  <p>This, however, doesn't work. Almost all the text-bubbles are staggered to a position where they shouldn't be. </p>
  
  <p>If you see the single-line text bubble written by the reviewer Jay Sherman, the vertical distance is smaller and the icon in the text-bubble isn't centered in the way that the other logo images are. </p>
  
  <p>Upon inspecting the element with Firebug, I noticed that the padding is applied only to the text. I don't know how to fix this. I need the padding to apply to the element as a whole. The padding superficially appears to work for the rest of the elements because there are multiple lines of text, but it doesn't, really.</p>
  
  <p><strong>Main Issues That Need to Be Addressed</strong></p>
  
  <ul>
  <li>I need to fix the padding between the reviews.</li>
  <li>I need to fix the images in the reviews so they're oriented properly.</li>
  <li>I need to fix the heading so it's in the same position as the heading in the desired output.</li>
  </ul>
  
  <p><strong>All of these things need to be fixed without affecting the formatting of the rest of the webpage. The ultimate goal is to keep it as close to the desired output as possible.</strong></p>
  
  <p><a href="http://oi65.tinypic.com/2zyykbs.jpg" rel="nofollow">Current Output</a></p>
  
  <p><a href="http://oi65.tinypic.com/333j2ax.jpg" rel="nofollow">Desired Output</a></p>
  
  <p><a href="http://oi66.tinypic.com/sqpbet.jpg" rel="nofollow">Current Output overlayed on Desired Output</a> </p>
  
  <p>^ This should make the differences between the two more immediately obvious.</p>
  
  <p><strong>Code</strong></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#banner {
   height: 50px;
   background-image: url(https://webster.cs.washington.edu/images/rancidbannerbg.png);
   background-repeat: repeat-x;
  }
  
  #banner img {
   display: block;
   margin-left: auto;
   margin-right: auto;
  }
  
  body {
   background-image: url(https://webster.cs.washington.edu/images/moviebg.png);
   font-family: Arial, Helvetica, sans-serif;
   font-size: 10pt;
   margin: 0px;
   padding: 0px;
  }
  
  #column-left, #column-right {
   margin-right: 2%;
   width: 47%;
  }
  
  #column-left {
   float: left;
   margin-left: 2%;
  }
  
  #column-right {
   float: right;
  }
  
  #container {
   background-color: #EEEEEE;
   border-radius: 20px;
   box-shadow: 5px 5px 5px gray;
   margin: auto;
   width: 800px;
  }
  
  #date {
   background-color: #A2B964;
   clear: both;
   margin-bottom: 0;
   padding: 5px;
   text-align: center;
  }
  
  h1, .reviewer-text {
   font-family: Georgia, "Times New Roman", serif;
  }
  
  h1 {
   font-size: 24pt;
   font-weight: bold;
   text-align: center;
   text-shadow: 3px 3px #999999;
  }
  
  #logo {
   background-image: url(https://webster.cs.washington.edu/images/rottenlargebg.png);
   background-repeat: repeat-x;
   height: 83px;
   font-size: 48pt;
   font-weight: bold;
   color: red;
  }
  
  #logo img {
   vertical-align: bottom;
  }
  
  .publication {
   font-style: italic;
  }
  
  #reviews {
   width: 550px;
  }
  
  .reviewer-info {
   padding-bottom: 20px;
  }
  
  .reviewer-info img, .reviewer-text img {
   float: left;
   margin-right: 5px;
  }
  
  .reviewer-text {
   background-color: #FFFFFF;
   border: 2px solid #CCCCCC;
   border-radius: 20px;
   padding-top: 8px;
   padding-bottom: 8px;
   padding-left: 8px;
   padding-right: 8px;
  }
  
  #general-overview {
   width: 250px;
   background-color: #A2B964;
   font-family: Arial, Helvetica, sans-serif;
   float: right;
  }
  
  #general-overview dt {
   font-weight: bold;
   margin-top: 10pt;
   padding-left: 10pt;
  }
  
  #general-overview dd {
   padding-left: 10pt;
   padding-right: 10pt;
  }
  
  #general-overview ul {
   list-style: none;
   margin: 0px;
   padding: 0px;
  }
  
  #validators {
   bottom: 0px;
   right: 0px;
   position: fixed;
   opacity: 0.5;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
   &lt;head&gt;
    &lt;title&gt;TMNT - Rancid Tomatoes&lt;/title&gt;
  
    &lt;meta charset="utf-8" /&gt;
    &lt;link href="movie.css" type="text/css" rel="stylesheet" /&gt;
    &lt;link rel="icon" type="image/gif" href="rotten.gif" /&gt;
   
   &lt;/head&gt;
  
   &lt;body&gt;
    &lt;div id = "banner"&gt;
     &lt;img src="https://webster.cs.washington.edu/images/rancidbanner.png" alt="Rancid Tomatoes" /&gt;
    &lt;/div&gt;
  
    &lt;h1&gt;TMNT (2007)&lt;/h1&gt;
  
    &lt;div id="container"&gt;
     &lt;div id="general-overview"&gt;
      &lt;div&gt;
       &lt;img src="https://webster.cs.washington.edu/images/overview.png" alt="general overview" /&gt;
      &lt;/div&gt;
  
      &lt;dl&gt;
       &lt;dt&gt;STARRING&lt;/dt&gt;
       &lt;dd&gt;Patrick Stewart &lt;br /&gt; Mako &lt;br /&gt; Sarah Michelle Gellar &lt;br /&gt; Kevin Smith&lt;/dd&gt;
  
       &lt;dt&gt;DIRECTOR&lt;/dt&gt;
       &lt;dd&gt;Kevin Munroe&lt;/dd&gt;
  
       &lt;dt&gt;RATING&lt;/dt&gt;
       &lt;dd&gt;PG&lt;/dd&gt;
  
       &lt;dt&gt;THEATRICAL RELEASE&lt;/dt&gt;
       &lt;dd&gt;Mar 23, 2007&lt;/dd&gt;
  
       &lt;dt&gt;MOVIE SYNOPSIS&lt;/dt&gt;
       &lt;dd&gt;After the defeat of their old arch nemesis, The Shredder, the Turtles have grown apart as a family.&lt;/dd&gt;
  
       &lt;dt&gt;MPAA RATING&lt;/dt&gt;
       &lt;dd&gt;PG, for animated action violence, some scary cartoon images and mild language&lt;/dd&gt;
  
       &lt;dt&gt;RELEASE COMPANY&lt;/dt&gt;
       &lt;dd&gt;Warner Bros.&lt;/dd&gt;
  
       &lt;dt&gt;RUNTIME&lt;/dt&gt;
       &lt;dd&gt;90 mins&lt;/dd&gt;
  
       &lt;dt&gt;GENRE&lt;/dt&gt;
       &lt;dd&gt;Action/Adventure, Comedies, Childrens, Martial Arts, Superheroes, Ninjas, Animated Characters&lt;/dd&gt;
  
       &lt;dt&gt;BOX OFFICE&lt;/dt&gt;
       &lt;dd&gt;$54,132,596&lt;/dd&gt;
  
       &lt;dt&gt;LINKS&lt;/dt&gt;
       &lt;dd&gt;
        &lt;br /&gt;
        &lt;ul&gt;
         &lt;li&gt;&lt;a href="http://www.ninjaturtles.com/"&gt;The Official TMNT Site&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a href="http://www.rottentomatoes.com/m/teenage_mutant_ninja_turtles/"&gt;RT Review&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a href="http://www.rottentomatoes.com/"&gt;RT Home&lt;/a&gt;&lt;/li&gt;
  
        &lt;/ul&gt;
       &lt;/dd&gt;
      &lt;/dl&gt;
     &lt;/div&gt;
     
     &lt;div id="reviews"&gt; 
      &lt;div id="logo"&gt;
       &lt;img src="https://webster.cs.washington.edu/images/rottenlarge.png" alt="Rotten" /&gt;
       33%
      &lt;/div&gt;
  
      &lt;div id="column-left"&gt;
       &lt;p class="reviewer-text"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/rotten.gif" alt="Rotten" /&gt;
        &lt;q&gt;Ditching the cheeky, self-aware wink that helped to excuse the concept's inherent corniness, the movie attempts to look polished and 'cool,' but the been-there animation can't compete with the then-cutting-edge puppetry of the 1990 live-action movie.&lt;/q&gt;
       &lt;/p&gt;
       &lt;p class="reviewer-info"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/critic.gif" alt="Critic" /&gt;
        Peter Debruge &lt;br /&gt;
        &lt;span class="publication"&gt;Variety&lt;/span&gt;
       &lt;/p&gt;
  
       &lt;p class="reviewer-text"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/fresh.gif" alt="Fresh" /&gt;
        &lt;q&gt;TMNT is a fun, action-filled adventure that will satisfy longtime fans and generate a legion of new ones.&lt;/q&gt;
       &lt;/p&gt;
       &lt;p class="reviewer-info"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/critic.gif" alt="Critic" /&gt;
        Todd Gilchrist &lt;br /&gt;
        &lt;span class="publication"&gt;IGN Movies&lt;/span&gt;
       &lt;/p&gt;
  
       &lt;p class="reviewer-text"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/rotten.gif" alt="Rotten" /&gt;
        &lt;q&gt;It stinks!&lt;/q&gt;
       &lt;/p&gt;
       &lt;p class="reviewer-info"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/critic.gif" alt="Critic" /&gt;
        Jay Sherman (unemployed)
        &lt;br /&gt;
       &lt;/p&gt;
  
       &lt;p class="reviewer-text"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/rotten.gif" alt="Rotten" /&gt;
        &lt;q&gt;The rubber suits are gone and they've been redone with fancy computer technology, but that hasn't stopped them from becoming dull.&lt;/q&gt;
       &lt;/p&gt;
       &lt;p class="reviewer-info"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/critic.gif" alt="Critic" /&gt;
        Joshua Tyler &lt;br /&gt;
        &lt;span class="publication"&gt;CinemaBlend.com&lt;/span&gt;
       &lt;/p&gt;
  
       &lt;p class="reviewer-text"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/rotten.gif" alt="Rotten" /&gt;
        &lt;q&gt;This movie sucks because reasons.&lt;/q&gt;
       &lt;/p&gt;
       &lt;p class="reviewer-info"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/critic.gif" alt="Critic" /&gt;
        T. Tally Nobias &lt;br /&gt;
        &lt;span class="publication"&gt;objectivereviews.com&lt;/span&gt;
       &lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div id="column-right"&gt;
       &lt;p class="reviewer-text"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/rotten.gif" alt="Rotten" /&gt;
        &lt;q&gt;The turtles themselves may look prettier, but are no smarter; torn irreparably from their countercultural roots, our superheroes on the half shell have been firmly co-opted by the industry their creators once sought to spoof.&lt;/q&gt;
       &lt;/p&gt;
       &lt;p class="reviewer-info"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/critic.gif" alt="Critic" /&gt;
        Jeannette Catsoulis &lt;br /&gt;
        &lt;span class="publication"&gt;New York Times&lt;/span&gt;
       &lt;/p&gt;
  
       &lt;p class="reviewer-text"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/rotten.gif" alt="Rotten" /&gt;
        &lt;q&gt;Impersonally animated and arbitrarily plotted, the story appears to have been made up as the filmmakers went along.&lt;/q&gt;
       &lt;/p&gt;
       &lt;p class="reviewer-info"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/critic.gif" alt="Critic" /&gt;
        Ed Gonzalez &lt;br /&gt;
        &lt;span class="publication"&gt;Slant Magazine&lt;/span&gt;
       &lt;/p&gt;
  
       &lt;p class="reviewer-text"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/fresh.gif" alt="Fresh" /&gt;
        &lt;q&gt;The striking use of image and motion allows each sequence to leave an impression. It's an accomplished restart to this franchise.&lt;/q&gt;
       &lt;/p&gt;
       &lt;p class="reviewer-info"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/critic.gif" alt="Critic" /&gt;
        Mark Palermo &lt;br /&gt;
        &lt;span class="publication"&gt;Coast (Halifax, Nova Scotia)&lt;/span&gt;
       &lt;/p&gt;
  
       &lt;p class="reviewer-text"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/rotten.gif" alt="Rotten" /&gt;
        &lt;q&gt;The script feels like it was computer generated. This mechanical presentation lacks the cheesy charm of the three live action films.&lt;/q&gt;
       &lt;/p&gt;
       &lt;p class="reviewer-info"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/critic.gif" alt="Critic" /&gt;
        Steve Rhodes &lt;br /&gt;
        &lt;span class="publication"&gt;Internet Reviews&lt;/span&gt;
       &lt;/p&gt;
  
       &lt;p class="reviewer-text"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/rotten.gif" alt="Rotten" /&gt;
        &lt;q&gt;This movie is literally the worst movie ever. I'm not going to explain why. -10000000/10.&lt;/q&gt;
       &lt;/p&gt;
       &lt;p class="reviewer-info"&gt;
        &lt;img src="https://webster.cs.washington.edu/images/critic.gif" alt="Critic" /&gt;
        A. Rheal Kritik &lt;br /&gt;
        &lt;span class="publication"&gt;Facade Inc.&lt;/span&gt;
       &lt;/p&gt;
      &lt;/div&gt;
     &lt;/div&gt;
     &lt;p id="date"&gt;(1-10) of 88&lt;/p&gt;
    &lt;/div&gt;
  
    &lt;div id="validators"&gt;
     &lt;a href="https://webster.cs.washington.edu/validate-html.php"&gt;&lt;img src="https://webster.cs.washington.edu/images/w3c-html.png" alt="Valid HTML5" /&gt;&lt;/a&gt;&lt;br /&gt;
     &lt;a href="https://webster.cs.washington.edu/validate-css.php"&gt;&lt;img src="https://webster.cs.washington.edu/images/w3c-css.png" alt="Valid CSS" /&gt;&lt;/a&gt;
    &lt;/div&gt;
   &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>