Is there any css property like min-height, but for top?In the example below, when i hide div1 (via javascript), i want div2 to have top:50. Else, to be placed below div1.\[code\]<html><head><style>#div1{height:100px;}#div2{//min-top:50px;}</style></head><body><div id='div1'>This div may be hidden</div><div id='div2'>This div must not be placed above 50px</div></body></html>\[/code\]Edit: as i answered below\[quote\] When div1 is not hidden i want div2 to be exactly below div1. imagine div1 as a treeview which can have any height (or even be hidden) and div2 as a paragraph which should always be below 50px\[/quote\]