css - Vertically Stack divs inside fixed div -


i have vertical parent container div fixed positioning , height in pixels. have child divs same width parent. how stack these child divs inside fixed parent? uanble through. please help.

if want statically, set each child div's top property how want it.

so if child divs 50px in height

#child1{ position:relative; top:50px; } #child2{ position:relative;   top:100px; } 

and on


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -