I want to place noscript tag like on this (stackoverflow) page:
<noscript>Your browser has JavaScript turned off !</noscript>
But, commented properties doesn't work:
noscript{
width:100%; // I want it to be 100% of parent container width - it's not.
text-align:center;
background-color:crimson;
color:white;
font-weight:bold;
margin-top:10px; // doesn't work
padding-top:7px;
margin-bottom:10px; // doesn't work
padding-bottom:7px;
}
noscript is not a block element. Put a DIV or any other block element inside your noscript element and then attempt to style it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With