align of box | Sololearn: Learn to code for FREE!


align of box

what is code to align box in center of the screen? where ot use?

7/2/2016 12:38:03 PM


4 Answers

New Answer


margin: 0px auto;


use style= "vertical-align:middle;"


perhaps can use 1. relative position or 2. float with some measurements.


use CSS make it margin 0px auto to get it to the centre of the div you want to display it on