CSS margin-top June 17, 2011 by Ilya Did you know that if you set margin-top of a child div as a percentage, it will be calculated based on the width of the parent div? Try it