Can you please tell me how to center a div like this image : https://i.postimg.cc/PJbZTYTg/notice.png
This is what I did :
<tr id="statusrow">
<td colspan="2" class="textnormal">
<script type="application/javascript" nonce="">
window.addEventListener("load", () => {
document.querySelector('#content input[type="text"]') ? .setAttribute("aria-describedby", "primaryStatusContent");
});
</script>
<div class="statusindicator statusinfo" style="margin:auto; padding:60px;">
<div style="background-color:yellow;"> Notice </div>
<div class="statuscontent" role="alert" id="primaryStatusContent" style="background-color:powderblue; color:red; font-size:120%; margin:-25px 0 0 -35px; padding:10px;"> If you are an external user who works with the state organization within the Commonwealth of Massachusetts and needs to exchange files, please contact your agency to request access.</div>
</div>
</td>
</tr>
But the yellow div instead of being in the top it is under the other div.