0
Well, I intend to centralize the contents of a div, at a vertical level.
My div, she’s inside another div that’s the container:
DIV Container:
container{
margin-left:10%;
margin-right:10%;
width:80%;
position:relative;
height:100%;
}
DIV I intend to center Vertically:
.status{
position:absolute;
width:55%;
height:6%;
border-style: solid;
border-width: 0.1px;
margin-top:16.8%;
margin-left:44.8%;
font-family:proxima_nova_cn_rgregular,sans-serif;
}
How can I do that?
Thank you.
Possible duplicate of How to center vertically the content of an element?
– David