views:

20

answers:

1

I have been looking around and seem to find lots about aligning a div vertically however not with a dynamic height div surrounding it.. i have a moch up of what i require, built from all sorts of different templates i have found.. i just cant get it to do what I want maybey i am totally wrong?.. i thought it would be simple however has turned south.. i am hoping somone on here can understand what i mean and fix it easily as I am lost... tried so many different things however just end up back to square one..

I have checked out "vertically-center-content-with-css" at vdotmedia and this is exactly what i need the div to do however i can't get it working in the template i have come up with.. i do want it to be cross browser and ie6 would be nice but at least ie7..

Thanks in advanced!

The code was a bit long for here so see the link for what i am after.. http://www.mmageardirect.com.au/tmp/index.htm

+1  A: 

http://stylizedweb.com/2008/02/01/vertical-align-div/

Enrico Pallazzo
Thanks for the quick response.. Maybe i am just not seeing it correctly but I think i need the word content in that exampe to be aligned in the middle (horizontal and vertical) inside that red div.. like the text in my link.. Or can this be implemented into my example. i can seem to get it right..
DCVIN