Asked 7 years ago
17 Apr 2017
Views 1677
sandee

sandee posted

difference between top , text-top in vertical-align property in CSS ?

difference between top , text-top in vertical-align property in CSS ?
same for bottom|text-bottom ?


<div style="vertical-align:text-bottom;width:100%;height:500px;border:1px solid;" >
why its not applying the vertical align botom or text-bottom
</div>


vertical-align:bottom or vertical-align:text-bottom will not leading any changes to view. i mean its not going to bottom . it should be but vertical-align:bottom or vertical-align:text-bottom or vertical-align:top or vertical-align:text-top is not applying
Mitul Dabhi

Mitul Dabhi
answered Nov 30 '-1 00:00


 <div style="width:100%;border:1px solid; display:inline-block;">
  <div class="" style="vertical-align:bottom; display:table-cell; height:500px;">
   why its not applying the vertical align botom or text-bottom
  </div>
 </div>
why two div wrap in to apply vertical-align property ? -  
May 5 '17 03:24
Post Answer