0
How will I control the width and height of block made using <div>
give codes
5 Réponses
+ 4
/*css*/
div {
width:123px; height:123px;
}
+ 3
You are talking about position OR alignment ?
+ 1
ty
+ 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>
+ 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?