# Vertically Aligning an Image within a Div

**URL:** <https://forum.kirupa.com/t/vertically-aligning-an-image-within-a-div/190941>\
**Category:** web dev\
**Created:** [June 15, 2006, 9:33pm UTC](https://forum.kirupa.com/t/vertically-aligning-an-image-within-a-div/190941 "2006-06-15T21:33:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaggieBroon](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@MaggieBroon](https://forum.kirupa.com/u/MaggieBroon)\
**Post date:** [June 15, 2006, 9:33pm UTC](https://forum.kirupa.com/t/vertically-aligning-an-image-within-a-div/190941/1 "2006-06-15T21:33:28Z")

</div>

I am going round the twist trying to figure out something that is probably dead easy!

I am trying to vertically align an image within a div and it doesnt seem to be working.

The page is [here](http://freespace.virgin.net/stuart.lawson/johnlaidlaw/new/). Could someone take a look and point me to where I’m going wrong? Its the logo at the top 🙂

Thanks,  
Mags x
