I would like the images within the scrolling portion of my wrapper to float in the middle of the screen (wide) and enlarge/shrink if the screen changes size. Currently it sits beneath the header but is well above the footer. How can I get it to center vertically?
CSS:
/* main content
------------------------------------------------------------------- */
#wrapper {
float:left;
margin:110px 0 0 0;
padding:0 0 0 250px;
background:#fff;
position:relative;
z-index:2;
border-bottom:solid 20px #fff;
}
.post {
padding:0 5px 0 0;
background:#fff;
height:100%;
}
#wrapper img {
color:#fff;
width:auto;
}
The HTML:
<!-- section that contains all pics -->
<section id="wrapper">
<article class="post">
<p><img src="img/scroll/001_scroll.jpg" alt="test image 1" title="test image" width="994" height="620" class="alignnone size-full wp-image-240" /></p>
</article>
<article class="post">
<p><img src="img/scroll/002_scroll.jpg" alt="test image 1" title="test image" width="994" height="620" class="alignnone size-full wp-image-240" /></p>
</article>
<article class="post">
<p><img src="img/scroll/003_scroll.jpg" alt="test image 1" title="test image" width="994" height="620" class="alignnone size-full wp-image-240" /></p>
</article>
<article class="post">
<p><img src="img/scroll/004_scroll.jpg" alt="test image 1" title="test image" width="994" height="620" class="alignnone size-full wp-image-240" /></p>
</article>
<article class="post">
<p><img src="img/scroll/005_scroll.jpg" alt="test image 1" title="test image" width="994" height="620" class="alignnone size-full wp-image-240" /></p>
</article>
</section>
<!-- close section -->
Thanks in advance guys!