Trying to add a table into the footer of a webpage, and this specific table needs to be 100% wide, black background. Have coded the css and html as below, and doesn't seem to recognise it at all. Anyone know where I'm going wrong?
table.sign {
width:100%;
background-color: rgba(0,0,0,0.6);
align:center;
border: none;
padding: none;
}
<table class="sign">
<tr>
<td>
<b>Content will go here.</b>
</td>
</tr>
</table>
alignisn't a valid css property though.text-align: center;?paddingproperty is wrong;noneis not a valid value. And it won't do what you want, since a table has 0 padding to begin with. You probably wanted to assign it totable.sign tdinstead.