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

0

align of box

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

7/2/2016 12:38:03 PM

Rahsal

4 Answers

New Answer

+2

margin: 0px auto;

+1

use style= "vertical-align:middle;"

+1

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

+1

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