Menu
I have two separate tables I want to show, but only 1 at a time. When I click a buttonA I want to show tableA. When I click buttonB, I want to show tableB in the same spot tableA was. When I do this though, they are placing eachother on top of eachother – TableA gets hidden, but its still there like a placeholder, while tableB is right underneath it.
I have in my CSS
table {border-collapse: collapse;}
and it worked for other functionality throughout my code, but it’s not working for here. Is there anything else I need to add to this?