Hey there, I have this CS block that I put together, and it's a bit all over the place.
div.OSDCScreen .block_center {
align-content: center;
border: 3px solid green;
background-image: url('../Images/OSDCBack.jpg');
background-repeat: no-repeat;
width: 595px;
height: 836px;
overflow: hidden;
}
My main issue right now is that I want to control the width
and height
of the block while also having it centered on the page.
align-content: center;
The above code works fine individually, as does:
width: 595px;
height: 836px;
However, when I use them together, align-content
stops working, and the block just sits on the left side of the screen with no positioning.
Do you have any tips for someone new like me trying to figure this out?