0

How will I control the width and height of block made using <div>

give codes

14th Sep 2017, 1:11 PM
Jitesh Gupta
5 ответов
+ 4
/*css*/ div { width:123px; height:123px; }
14th Sep 2017, 1:40 PM
Ekansh
+ 3
You are talking about position OR alignment ?
14th Sep 2017, 2:22 PM
Ekansh
+ 1
ty
14th Sep 2017, 1:48 PM
Jitesh Gupta
+ 1
thanks Eksnsh, can u tell how will I control the position of paragraph inside div <div style="background-color:grey;"><p>this is a para</p></div>
14th Sep 2017, 2:20 PM
Jitesh Gupta
+ 1
i m talking about position, I mean the position of a para inside a div, that whether it is at the bottom inside the div element, or at the top inside the div element or at middle of the div element?
14th Sep 2017, 2:24 PM
Jitesh Gupta