0

align of box

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

2nd Jul 2016, 12:38 PM
Rahsal
4 Answers
+ 2
margin: 0px auto;
3rd Jul 2016, 7:49 AM
Abdelrhman Mohamed
Abdelrhman Mohamed - avatar
+ 1
use style= "vertical-align:middle;"
4th Jul 2016, 3:46 PM
Uday Kumar
+ 1
perhaps can use 1. relative position or 2. float with some measurements.
12th Jul 2016, 5:45 AM
Alexis Cheuk Yan Lee
Alexis Cheuk Yan Lee - avatar
+ 1
use CSS make it margin 0px auto to get it to the centre of the div you want to display it on
18th Dec 2016, 1:04 AM
Cele Prince
Cele Prince - avatar