View Single Post
  #2 (permalink)  
Old Feb 27th, 2006, 12:40
herkalees's Avatar
herkalees herkalees is offline
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Top and bottom margin for container/wrapper divs

position: relative; (if not, try absolute)
top: 50%;
height: 400px; (must declare a height)
margin-top: -200px; (must be half the above height)
Reply With Quote