Javascript Aligning A Text Div Inside Another Div Vertically Stack

Javascript Aligning A Text Div Inside Another Div Vertically Stack