I am relatively new to the world of HTML and CSS. I have successfully created several tables, but now I am struggling to display them all on a single line within a designated box. Despite my best efforts, I have not been able to achieve the desired result. Can anyone provide assistance with this issue?
#content2{
margin: 30px 0;
background: white;
padding: 20px;
clear: both;
box-shadow: 0px 1px 1px #999;
text-align: center;
overflow:hidden;
}
table{
margin-right: auto;
margin-left: auto;
float:left;
}
td,th{
padding: 20px;
}
As far as I can tell, there are no errors in my HTML code.