title: Vertically aligning an img in a div in wordpress
body: <p>I am trying to vertically align images in a div in wordpress, the div is set as a kind of background border, which I've done, and I've got the images inside of the div center aligned horizontally but I cannot do it vertically, can anybody help? </p>
  
  <p>Here are my classes at present, .image is the div and img is the images inside the post. </p>
  
  <pre><code>.entry img{max-width: 475px; max-height: 240px; padding: 50px;}
  .entry .image{background-image:url(images/image-back.gif); width: 590; height:339px; text-align: center; margin-top: 20px; margin-bottom: 40px;}
  </code></pre>
  
  <p>html code shows like this for each image in a post</p>
  
  <pre><code>&lt;div class="image"&gt;&lt;img src""&gt;&lt;/div&gt;
  </code></pre>
  
  <p>any help is appreciated, thankyou!</p>