title: Css UL LI alignment of images
body: <p>I have this html code:</p>
  
  <pre><code>&lt;ul id="top-bar"&gt;
      &lt;li class="top-icon-block"&gt;&lt;img src="images/home.png"&gt;&lt;/li&gt;
      &lt;li class="top-icon-sep-block"&gt;&lt;img src="images/top_icon_separator.png"&gt;&lt;/li&gt;
      &lt;li class="top-icon-block"&gt;&lt;img src="images/home.png"&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>and the relevant css looks like this:</p>
  
  <pre><code>    #top-bar {
  width: inherit;
  height: 40px;
  padding: 0px;
  margin: 0px;
  vertical-align: middle;
  display: table-row;
  }
  
  .top-icon-block {
      width: 50px;
  margin: 0px;
  background-image: url("images/top_bar_bg.png");
  background-repeat: repeat-x;
  display: table-cell;
  text-align: center;
  }
  
  li.top-icon-block img {
  padding-top: 8px;
  vertical-align: middle;
  }
  
  .top-icon-sep-block {
  width: 4px;
  margin: 0px;
  background-image: url("images/top_bar_bg.png");
  background-repeat: repeat-x;
  display: table-cell;
  text-align: center;
  }
  
  li.top-icon-sep-block img {
  padding-top: 18px;
  vertical-align: middle;
  }
  </code></pre>
  
  <p>for some reason, All of the images are aligned based on the highest padding-top, whereas I really need them to be differ.</p>
  
  <p>Here is a jsfiddle: <a href="http://jsfiddle.net/XWdMP/" rel="nofollow">http://jsfiddle.net/XWdMP/</a></p>